Skip to main content

llama.cpp EUVDEUVD-2026-69411

| CVE-2026-52131 HIGH
Reachable Assertion (CWE-617)
2026-09-01 mitre GHSA-jfjx-j76r-xrpf
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed GGUF file
  2. Delivery
    Submit file to llama.cpp inference endpoint
  3. Exploit
    gguf_reader::read parses header
  4. Execution
    Assertion invariant violated
  5. Impact
    Process 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

CWE-617 causes process abort (A:H); no memory disclosure mechanism, so C:N; network-accessible file parser with no auth required.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.0 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 02, 2026 - 19:22 NVD
7.5 (HIGH)
CVE Published
Sep 01, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Sep 01, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
dominant open-source LLM inference library, broadly deployed
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy