GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

hacnho/gguf-tensor-offset-oob-poc overview

GGUF tensor offset out of bounds PoC This repository hosts a benign security research PoC for a GGUF parser denial of service. Files gguf huge tensor offset.gg…

ggufsecurityproof-of-conceptdenial-of-serviceregion:us

Runs locally from ~0.0 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
Author

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
gguf-huge-tensor-offset.ggufGGUFGGUF0.0 MBDownload

Model Details

Model IDhacnho/gguf-tensor-offset-oob-poc
Authorhacnho
Pipeline
License
Base model
Last modified2026-06-26T09:17:10.000Z

Model README

---

tags:

  • security
  • proof-of-concept
  • gguf
  • denial-of-service

---

GGUF tensor-offset out-of-bounds PoC

This repository hosts a benign security research PoC for a GGUF parser denial of service.

Files

  • gguf-huge-tensor-offset.gguf

Reproduction

Use latest gguf 0.19.0:

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-tensor-offset.gguf")
PY

Observed result:

  • ValueError: cannot reshape array of size 0 into shape (1,)

The malformed file is only 160 bytes and patches the tensor offset_tensor

field to 4294967296.

Safety note

This artifact is a non-executable malformed model-file PoC for parser-stress testing only.

Run hacnho/gguf-tensor-offset-oob-poc with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models