Description
llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.
Published: 2026-09-01
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 04 Sep 2026 20:30:00 +0000

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

Thu, 03 Sep 2026 14:15:00 +0000

Type Values Removed Values Added
Title Reachable Assertion in llama.cpp's gguf_reader May Crash the Program
Weaknesses CWE-682

Wed, 02 Sep 2026 19:30:00 +0000

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'}


Wed, 02 Sep 2026 01:30:00 +0000

Type Values Removed Values Added
Title Reachable Assertion in llama.cpp's gguf_reader May Crash the Program
Weaknesses CWE-682

Wed, 02 Sep 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Ggml-org
Ggml-org llama.cpp
Vendors & Products Ggml-org
Ggml-org llama.cpp

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
Description llama.cpp b5693 and before has a Reachable Assertion via the gguf_reader::read function.
References

Subscriptions

Ggml Llama.cpp
Ggml-org Llama.cpp
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-02T18:23:15.584Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-52131

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-09-01T18:17:43.717

Modified: 2026-09-04T20:20:23.593

Link: CVE-2026-52131

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:00:08Z

Weaknesses