CVE-2026-52131

Published Sep 1, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.

Analysis

AI-generated

Technical impact

The issue originates from a reachable assertion located in the gguf_reader::read function of llama.cpp. Because the assertion is reachable, an attacker could provide crafted input that triggers the assertion, causing the program to terminate unexpectedly. This leads to a denial‑of‑service condition where the affected service or application stops responding. The type of weakness is an assertion misuse that fails to perform proper error handling, which can destabilise the entire process.

Affected Systems

The vulnerability affects the llama.cpp library for all versions at or before commit b5693. Operators of systems that rely on this library for loading GGUF model files are impacted. The specific product is the open‑source llama.cpp repository, managed by ggml-org. No vendor‑specific product names are supplied, but any deployment of the library that imports GGUF models and has not applied newer versions is at risk.

Risk and Exploitability

The CVSS score is 7.5, and the EPSS score of less than 1% suggests a low exploitation probability. The issue is not listed in the CISA KEV catalog, implying no known large‑scale exploit activity yet. Nonetheless, a reachable assertion that can trigger a crash can be exploited by sending malicious GGUF files over a network or local filesystem if the application does not protect against them. The susceptibility is high if the application runs with elevated privileges or manages critical resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade llama.cpp to the latest release (a commit newer than b5693) where the reachable assertion has been removed or replaced with proper error handling.
  • If an upgrade is not immediately possible, patch the source by replacing the assert statement in gguf_reader::read with a conditional check that returns an error code or logs the failure instead of aborting the process.
  • Re‑compile the updated library and replace the running binary, ensuring the application restarts correctly after the patch.

Generated by OpenCVE AI on September 3, 2026 at 15:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ggml
Ggml llama.cpp
CPEs cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*
Vendors & Products Ggml
Ggml llama.cpp
Type Values Removed Values Added
Title Reachable Assertion in llama.cpp's gguf_reader May Crash the Program
Weaknesses CWE-682
Type Values Removed Values Added
Weaknesses CWE-617
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Title Reachable Assertion in llama.cpp's gguf_reader May Crash the Program
Weaknesses CWE-682
Type Values Removed Values Added
First Time appeared Ggml-org
Ggml-org llama.cpp
Vendors & Products Ggml-org
Ggml-org llama.cpp
Type Values Removed Values Added
Description llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 2, 2026, 6:23 PM
Reserved
Jun 8, 2026, 12:00 AM
Status
Analyzed
Published
Sep 1, 2026, 6:17 PM
Modified
Sep 4, 2026, 8:20 PM