CVEsggml-orgCVE-2026-116840Published Oct 27, 00:33 · Updated Oct 27, 14:14 UTC
6.1
MediumCVSS 3.1 · from VulnCheck
CVE-2026-116840

llama.cpp b5854 before b11275 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.1 · VulnCheck
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC

What we know

No known exploitation. CISA KEV, checked 22:08 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 b5854 before b11275 contains an integer overflow vulnerability in gguf_init_from_reader that bypasses the CVE-2025-53630 size check when padding near-SIZE_MAX tensor sizes. Attackers can supply a crafted GGUF file whose tensor size pads to zero, causing an undersized data blob and out-of-bounds reads by consumers.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inllama.cppb5854 – before b11275–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/26978 · github.comissue trackinggithub.com/ggml-org/llama.cpp/pull/26979 · github.compatchissue trackinggithub.com/ggml-org/llama.cpp/commit/a6ea155d3d38b3f6f43d0c0dc29c2d592413ef44 · github.compatchgithub.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L794-L795 · github.comtechnical descriptionllama.cpp b11275 Release Notes · github.comrelease notesVulnCheck Advisory: llama.cpp b5854 before b11275 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.6llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader · CVE-2026-116829Oct 27