GGUF string-length parser crash PoC

This repository contains a benign malformed GGUF file used to demonstrate a parser crash in the latest Python GGUFReader path.

Files:

  • gguf-huge-name-len-2g.gguf

Reproduction:

python3 -m venv .venv-gguf-019
. .venv-gguf-019/bin/activate
pip install gguf==0.19.0
python - <<'PY'
import gguf
gguf.GGUFReader('gguf-huge-name-len-2g.gguf')
PY

Expected result:

IndexError: index 0 is out of bounds for axis 0 with size 0
Downloads last month
76
GGUF
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