Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed GGUF file
-
DeliverySubmit file to llama.cpp inference endpoint
-
Exploitgguf_reader::read parses header
-
ExecutionAssertion invariant violated
-
ImpactProcess aborts (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | The target service must load attacker-supplied or attacker-influenced GGUF model files through gguf_reader::read. This applies to: inference servers that accept model uploads from untrusted users, pipelines where GGUF files transit an untrusted network path without integrity verification, and any application where an attacker can control or substitute the model file path. No authentication is required if the model-loading endpoint is publicly accessible. Exploitation is limited by: the need to deliver a GGUF-formatted file (not a generic HTTP payload), the fact that many llama.cpp deployments load only locally-managed models from trusted storage, and that the impact is process crash rather than code execution or data exfiltration. |
| Impact | The provided CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, score 7.5) assigns C:H and A:N, which is inconsistent with CWE-617 behavior. A reachable assertion triggers process abort - this produces availability impact (A:H), not confidentiality loss. The 'Denial Of Service' tag supplied by the reporter aligns with the actual CWE-617 impact and contradicts the C:H/A:N vector. The CVSS metrics appear to have C and A transposed or incorrectly assigned; this analysis treats the real-world impact as A:H with C:N. EPSS at 0.14% (4th percentile) indicates minimal observed exploitation activity, consistent with a parser crash bug rather than a memory-disclosure primitive. No KEV listing, no POC code referenced. Practical risk is elevated only for production inference services that accept externally-supplied GGUF files (e.g., model-serving APIs, fine-tuning pipelines with user uploads); air-gapped or researcher-only deployments carry negligible risk. |
| Exploit ScenarioDerived | An attacker targeting a publicly accessible LLM inference API (e.g., a llama.cpp-based OpenAI-compatible server) uploads or submits a specially crafted GGUF model file containing metadata values engineered to violate an internal invariant in gguf_reader::read. The assertion fires, the server process aborts, and the service becomes unavailable until it is restarted - achievable repeatedly for sustained denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 02, 2026
Reachable assertion in llama.cpp's GGUF file parser (gguf_reader::read) allows a remote unauthenticated attacker to crash the process by supplying a crafted GGUF model file to any service built on llama.cpp b5693 or earlier. CWE-617 (Reachable Assertion) causes process abort on assertion failure, making this effectively a denial-of-service primitive. No public exploit code or active exploitation has been identified at time of analysis; EPSS sits at the 4th percentile (0.14%), reflecting low observed exploitation pressure.
RemediationAI
Update llama.cpp to any commit after b5693; no specific named patch release version was confirmed in the available references - consumers should pull HEAD or monitor https://github.com/ggml-org/llama.cpp for a tagged release that includes the assertion fix. Until patched, deployments that expose model-loading endpoints externally should restrict accepted GGUF files to trusted, validated sources and enforce input size and structural pre-validation before passing files to gguf_reader. For API-facing services, wrapping the inference process in a supervisor with automatic restart limits the DoS window but does not prevent repeated crash cycling by an attacker with network access.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
llama.cpp (GitHub: ggml-org/llama.cpp) is a widely-adopted C/C++ inference library for large language models. GGUF (GGML Universal Format) is the binary model-file format it uses to load quantized model weights. The gguf_reader::read function is the entry point for parsing GGUF file headers and tensor metadata. CWE-617 (Reachable Assertion) means a developer-inserted assert() condition inside this parsing path can be reached via attacker-controlled input data - a crafted GGUF file can supply values that violate the assumed invariant, causing the C runtime to call abort(), terminating the process. The CPE provided (cpe:2.3:a:n/a:n/a) is a placeholder; the real CPE should reference ggml-org/llama.cpp. Affected through commit b5693.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-617 causes process abort (A:H); no memory disclosure mechanism, so C:N; network-accessible file parser with no auth required.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.
Executive ViewAI
llama.cpp versions b5693 and earlier contain a denial-of-service vulnerability in the GGUF file parser that allows remote attackers to crash inference services via malicious model files. Organizations deploying llama.cpp-based AI applications face service interruption risk with no vendor patch currently available. While no active exploitation has been identified at time of analysis, the vulnerability poses an immediate availability risk to affected systems.
No vendor-released patch identified at time of analysis. Interim mitigations include: strict GGUF file validation and schema checking before processing, automated service restart mechanisms, restriction of model sources to approved repositories, process monitoring with alerting on abnormal termination, rate limiting on model submissions, and network-level access controls limiting client connectivity to inference services.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-69411
GHSA-jfjx-j76r-xrpf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB