Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-116829: llama.cpp integer overflow in gguf_init_from_reader via crafted GGUF files

Identifier
CVE-2026-116829
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

llama.cpp versions from b10398 up to but not including b11301 contain an integer overflow in gguf_init_from_reader. Attackers can craft GGUF files with very large tensor extents whose shape product wraps to zero, bypassing tensor element-count validation. The overflow in ggml_nbytes() and strides leads to out-of-bounds memory access when buffers are sized from the wrapped byte counts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.