CVE-2026-133710llama.cpp b11003 before b12556 Heap Out-of-Bounds Write via hrm_text Model Loader
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | llama.cpp | Fix pending | UBUNTU-CVE-2026-133710 | |
| Ubuntu 26.04 | llama.cpp | Under investigation | UBUNTU-CVE-2026-133710 | |
| Debian 14 | llama.cpp | Fix pending | DEBIAN-CVE-2026-133710 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ggml-org llama.cpp: affected: b11003 to before b12556
Vendor advisories:
- https://github.com/ggml-org/llama.cpp/pull/32601 (patch)
- https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7 (patch)
- https://github.com/ggml-org/llama.cpp/releases/tag/b12556 (release-notes)
References
- https://github.com/ggml-org/llama.cpp/pull/32601
- https://github.com/ggml-org/llama.cpp/commit/50518b64c6f2191a116d2760042f106c4b3387d7
- https://github.com/ggml-org/llama.cpp/blob/b12555/src/models/hrm-text.cpp
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.