Vulnerability

CVE-2026-116829

mediumCVSS 4.0 6.9Published 27 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp
  • github.com /ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d…
  • github.com /ggml-org/llama.cpp/issues/29383
  • github.com /ggml-org/llama.cpp/pull/29384
  • github.com /ggml-org/llama.cpp/releases/tag/b11301
  • www.vulncheck.com /advisories/llama-cpp-b10398-before-b11301-integer-overflow…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning