CVE-2026-133710
llama.cpp b11003 before b12556 Heap Out-of-Bounds Write via hrm_text Model Loader
High · 8.5Fix available
- CVSS
- 8.5
- EPSS
- 0.21% (p6)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-21
- Product
- ggml-org llama.cpp
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
llama.cpp b11003 before b12556 contains an integer overflow in the hrm_text loader load_arch_hparams() that allows attackers to bypass the block count check using crafted GGUF metadata. Attackers can supply a GGUF model whose layer factors wrap modulo 2^32, causing load_arch_tensors() to write tensor pointers past model.layers, corrupting heap memory and potentially enabling code execution.
Fixed in
b12556
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | llama.cpp | >=b11003, <b12556 | b12556 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 11d ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/ggml-org/llama.cpp/pull/32601 issue-tracking
- https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7 patch
- https://github.com/ggml-org/llama.cpp/blob/b12555/src/models/hrm-text.cpp technical-description
- https://github.com/ggml-org/llama.cpp/releases/tag/b12556 release-notes
- https://www.vulncheck.com/advisories/llama-cpp-b11003-before-b12556-heap-out-of-bounds-write-via-hrm-text-model-loader third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133710.json advisory
- https://github.com/ggml-org/llama.cpp package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133710 advisory