CVEsggml-orgCVE-2026-116829Published Oct 27, 00:33 · Updated Oct 27, 00:33 UTC
6.6
MediumCVSS 3.1 · from VulnCheck
CVE-2026-116829

llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

llama.cpp · Integer overflow · CWE-190
Affectedllama.cpp
FixUpdate to 0.6.0 or newer
PublishedOct 27, 00:33 · VulnCheck
ScoredOct 27 · 6.6 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:10 UTC

What we know

No known exploitation. CISA KEV, checked 22:10 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs local access to the machine. CVSS: local.
Someone has to open, click or run something first. CVSS: user interaction required.
A successful attack can take the service down. CVSS impact.

Description

llama.cpp b10398 before b11301 contains an integer overflow vulnerability in gguf_init_from_reader that allows attackers to bypass tensor element-count validation by supplying shapes whose product wraps to zero. Attackers can craft GGUF files with enormous tensor extents that overflow ggml_nbytes() and strides, causing out-of-bounds memory access when buffers are sized from wrapped byte counts.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inllama.cppb10398 – before b11301–llama.cpp0.1.0 – before 0.6.00.6.0

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/ggml-org/llama.cpp/issues/29383 · github.comissue trackinggithub.com/ggml-org/llama.cpp/pull/29384 · github.compatchissue trackinggithub.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc · github.compatchgithub.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701 · github.comtechnical descriptionllama.cpp b11301 Release Notes · github.comrelease notesVulnCheck Advisory: llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader · vulncheck.comthird party advisory

Other CVEs in llama.cpp

All 34 →
7.5llama.cpp b2877 before b11935 ggml-rpc Server DoS via Oversized recv_msg Length · CVE-2026-119052Oct 298.1llama.cpp b8841 before b11865 Stack-based Buffer Overflow via ggml-rpc RDMA rdma_recv() · CVE-2026-118375Oct 286.1llama.cpp b5854 before b11275 Integer Overflow in gguf_init_from_reader · CVE-2026-116840Oct 27