CVE-2026-133710
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-133710 NameCVE-2026-133710 Descriptionllama.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…
CVE-2026-133710
| Name | CVE-2026-133710 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1155144 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| llama.cpp (PTS) | forky | 1:0.9.0+dfsg-1 | vulnerable |
| sid | 1:1.0.0+dfsg-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| llama.cpp | source | (unstable) | (unfixed) | 1155144 |
Notes
https://github.com/ggml-org/llama.cpp/pull/32601
https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7 (b12556)
Apply commands
https://github.com/ggml-org/llama.cpp/pull/32601https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7 (b12556)
OS impact
Debian Mixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | llama.cpp |
Fixed | 1:1.1.0+dfsg-1 |
| forky | llama.cpp |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| ggml-org | llama.cpp | {"startIncluding":"b11003","endExcluding":"b12556"} | b12556 |
References
- https://github.com/ggml-org/llama.cpp/blob/b12555/src/models/hrm-text.cpp
- https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7
- https://github.com/ggml-org/llama.cpp/pull/32601
- https://github.com/ggml-org/llama.cpp/releases/tag/b12556
- https://www.vulncheck.com/advisories/llama-cpp-b11003-before-b12556-heap-out-of-bounds-write-via-hrm-text-model-loader
- https://security-tracker.debian.org/tracker/CVE-2026-133710
CWEs
CWE-190
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.