Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

Heap‑Based Buffer Overflow in llama.cpp GGUF Parser (CVE‑2026‑126975) Enables Remote Code Execution

A heap‑based buffer overflow in the GGUF file parser of the open‑source llama.cpp library (CVE‑2026‑126975) permits remote code execution when a malicious model file is opened. The flaw underscores the need for rapid vulnerability management and evidence of patch adoption for compliance readiness.

LiveThreat™ Intelligence · 📅 November 17, 2026· 📰 zerodayinitiative.com
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
1 sector(s)
✅
Actions
1 recommended
📰
Source
zerodayinitiative.com

ZDI-26-976: Heap‑Based Buffer Overflow in llama.cpp GGUF Parser (CVE‑2026‑126975) Enables Remote Code Execution

What It Is — The Zero Day Initiative (ZDI) disclosed a critical flaw (CVE‑2026‑126975) in the open‑source LLM inference engine llama.cpp. The vulnerability resides in the parser for GGUF model files. When a GGUF file is loaded, the code fails to validate the length of a user‑supplied field before copying it into a heap‑allocated buffer. An attacker who can convince a victim to open a malicious GGUF file—or to visit a web page that triggers automatic loading of such a file—can cause a heap‑based buffer overflow. Successful exploitation grants the attacker arbitrary code execution in the context of the llama.cpp process, with full user‑level privileges. The CVSS vector is AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, yielding a base score of 7.8 (High).

The flaw was reported to the project maintainers on 28 Oct 2026. The maintainers responded quickly, publishing a patch on 13 Nov 2026 (GitHub PR #31336). The advisory was publicly released the same day, and the ZDI entry was updated to reflect the fix. No public exploitation has been observed, and the project’s maintainers have not reported any incidents in the wild.

Affected Products — The vulnerability is present in all versions of the llama.cpp repository that include the GGUF parser prior to the 13 Nov 2026 patch. Because llama.cpp is a library rather than a commercial product, any downstream application that embeds the library and loads GGUF files is potentially vulnerable.

Why It Matters for Trust & Control Assurance — This issue tests the Vulnerability Management control objective: organizations must have a process to discover, assess, and remediate software flaws promptly. Demonstrating timely patch adoption maps to a single control that satisfies many frameworks (e.g., NIST CSF 2.0, ISO 27001, SOC 2).

Recommended Actions —

  • Identify any internal services, AI pipelines, or third‑party tools that embed llama.cpp and load GGUF models.
  • Verify the version of llama.cpp in use; if it predates the 13 Nov 2026 commit, upgrade immediately to the patched release.
  • Implement a monitoring rule for unexpected file loads or process launches of llama.cpp binaries.
  • Document the remediation in your vulnerability‑management system to provide audit evidence of timely response.

Source: ZDI Advisory

📰 Original Source
http://www.zerodayinitiative.com/advisories/ZDI-26-976/ ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Answer one control objective. Answer ten frameworks.

The Verisq Common Framework is a spine of 84 control objectives that SOC 2, ISO 27001, NIST CSF, CMMC, HIPAA, PCI DSS, HITRUST, GDPR, ISO 42001 and NIST AI RMF map onto — each graded honestly. Satisfy an objective once and every framework that recognizes it lights up at its real strength.

See how the Verisq Common Framework works →