Skip to main content
← All vulnerabilities
CVE-2026-116829EUVD-2026-110570GHSA-3JHP-QV93-3428

llama.cpp b10398 before b11301 Integer Overflow in gguf_init_from_reader

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in b11301, 0.6.0
None on Exploit-DB, Metasploit or GitHub

Summary

The llama.cpp inference library, used to run large language models from GGUF model files, is affected. An attacker who supplies a specially crafted GGUF file can trigger an integer overflow in tensor size checks, which may lead to out-of-bounds memory access and potentially crash or compromise the process loading the file.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • ggml-org llama.cpp

    From b10398 · fixed in b11301; From 0.1.0 · fixed in 0.6.0

References 6

GitHub · ggml-org/llama.cpp

vulncheck.com