How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf AM-Core/gguf-divzero-loader-crash-poc-clean
# Run inference directly in the terminal:
llama-cli -hf AM-Core/gguf-divzero-loader-crash-poc-clean
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf AM-Core/gguf-divzero-loader-crash-poc-clean
# Run inference directly in the terminal:
llama-cli -hf AM-Core/gguf-divzero-loader-crash-poc-clean
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf AM-Core/gguf-divzero-loader-crash-poc-clean
# Run inference directly in the terminal:
./llama-cli -hf AM-Core/gguf-divzero-loader-crash-poc-clean
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf AM-Core/gguf-divzero-loader-crash-poc-clean
# Run inference directly in the terminal:
./build/bin/llama-cli -hf AM-Core/gguf-divzero-loader-crash-poc-clean
Use Docker
docker model run hf.co/AM-Core/gguf-divzero-loader-crash-poc-clean
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

GGUF division-by-zero loader crash PoC

This repository contains a malformed GGUF file that triggers sanitizer-backed undefined behavior during llama.cpp model loading.

PoC file: poc_gguf_divzero_alignment_loader_crash.gguf

SHA256: a0df9cbeba1fb33b95fbd8b4dd7b403a5da25c4c9ee1649674f9344f55c1f593

Size: 2387040 bytes

Reproduce: LLAMA_CLI=/path/to/llama-cli bash reproduce.sh

Expected:

  • runtime error: division by zero
  • AddressSanitizer: FPE
  • abnormal process termination

Boundary: This is not RCE. This is malformed GGUF model-file-triggered undefined behavior and loader crash.

Downloads last month
131
GGUF
Model size
2.05M params
Architecture
llama
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support