
CVE catalog
CVE-2026-34159
llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticat
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.59% · Oct 25, 2026
llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER/BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492. Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | llama.cpp | Not reported | b8492 | fixed |
| Debian | llama.cpp | 14 | 5151+dfsg-1~exp2 | vulnerable |
| Debian | llama.cpp | 14 | 5151+dfsg-1~exp3 | vulnerable |
| Debian | llama.cpp | 14 | 5318+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5318+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5713+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 5760+dfsg-4 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp1 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp2 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-3~exp3 | vulnerable |
| Debian | llama.cpp | 14 | 5882+dfsg-4 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 6641+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 7593+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 7593+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 7593+dfsg-3 | vulnerable |
| Debian | llama.cpp | 14 | 7965+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 8064+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 8064+dfsg-2 | vulnerable |
| Debian | llama.cpp | 14 | 8461+dfsg-1 | vulnerable |
| Debian | llama.cpp | 14 | 8611+dfsg-1 | fixed |
| Ubuntu | llama.cpp | 25.10 | 5318+dfsg-1 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5318+dfsg-2 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5713+dfsg-1 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5760+dfsg-1 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5760+dfsg-3 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5760+dfsg-4 | vulnerable |
| Ubuntu | llama.cpp | 25.10 | 5882+dfsg-2 | vulnerable |
| Cpe | llama.cpp | Not reported | b8492 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | llama.cpp | cpe | Not reported | b8492 | Not reported | Not reported | Not reported |
| Debian | llama.cpp | deb | 14 | 8611+dfsg-1 | Not reported | DEBIAN-CVE-2026-34159 | Not reported |
| Cpe | llama.cpp | cpe | Not reported | b8492 | Not reported | NVD-CVE-2026-34159 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/ggml-org/llama.cpp/commit/39bf0d3c6a95803e0f41aaba069ffbee26721042]
- [https://github.com/ggml-org/llama.cpp/pull/20908]
- [https://github.com/ggml-org/llama.cpp/security/advisories/GHSA-j8rj-fmpv-wcxw]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-34159]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-34159]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-34159]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34159.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]