Case · DiggingBeagle record

Opening a malicious GGUF model could cross into llama.cpp process memory

ZDI disclosed CVE-2026-126974, a GGUF parser integer overflow before a memory write. The attacker needs the target to load malicious model data, so the advisory’s remote attacker description does not make this a zero-click server API exploit.

Published by DiggingBeagle:

Scope

CVE-2026-126974, ZDI-26-975, malicious GGUF file opened by a vulnerable llama.cpp installation; advisory published November 13, 2026.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Coordinated vulnerability advisory establishes a specific parser fault and upstream fix, not exploit prevalence or confirmed field execution.

Assessed Nov 16, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Starting access and objective

    An attacker controls a GGUF artifact or influences which model checkpoint an operator or automation opens.

    Boundary: attacker or evaluator precondition

  2. 02

    Trust or execution boundary

    Native GGUF metadata parsing reaches integer arithmetic and a subsequent memory write without the required bounds checks.

    Boundary: untrusted material and acquired authority

  3. 03

    Observed result and limit

    ZDI reports potential code execution in the loader process; no actual compromised host or malicious public model is established.

    Boundary: measured effect and evidentiary limit

Claims & evidence

CLM-LLAMACPP-01ZDI-26-975 identifies an integer overflow before a GGUF parser memory write that can potentially lead to arbitrary code execution when a malicious model artifact is opened.supported

Basis: reported finding

Link to claim
CLM-LLAMACPP-02The advisory requires the target to open a malicious page or file and links a llama.cpp upstream update; it does not identify an exploited production incident.supported

Basis: reported finding

Link to claim
CLM-ENR253-LLAMACPP-GGUF-PARSER-INTEGER-OVERFLOWZDI-26-975 identifies CVE-2026-126974 as an integer overflow before a GGUF parser memory write and assigns CVSS 7.8 with user interaction required to open a malicious file; the advisory records reporting on October 28 and coordinated disclosure on November 13, 2026.supported

Basis: reported finding

Link to claim

Implications

A model file is executable-adjacent native input, not trusted documentation. Here exploitation requires an attacker-controlled malformed GGUF artifact to reach an affected loader through a user or workflow that opens it; there is no evidence of unauthenticated inference-endpoint compromise. If triggered, the memory corruption would occur before normal prompt safety or tool policy has any opportunity to intervene. Constrain model provenance and download permissions, inspect artifacts in isolated loaders, patch the affected parser, and treat the ZDI severity score as potential impact rather than evidence of a real victim.

Controls and mitigations

  • Update to a llama.cpp build that demonstrably includes the GGUF bounds fix and verify its commit/release provenance.
  • Load untrusted models in a tightly permissioned process without host secrets, privileged Docker mounts or unrestricted outbound access.
  • Scan model-file provenance and use parser regression tests under memory sanitizers; a content hash alone is not a security verdict.

Unknowns and contradictions

  • No in-the-wild exploitation or malicious model distribution confirmed by the advisory.
  • The first fixed tagged release is not established here.
  • The linked change includes multiple bounds checks; only the GGUF parser condition is assigned this CVE.

Sources and citation

Material revision history

  1. Nov 16, 2026 · Published version · first publication · revision 254