CVE-2026-52131
ggml-org · llama.cpp
llama.cpp versions b5693 and earlier are susceptible to a reachable assertion error within the gguf_reader::read function, potentially leading to instability or denial of service.
Executive summary
A reachable assertion in the gguf_reader::read function of llama.cpp versions b5693 and prior poses a high-severity risk to system stability via unauthenticated input.
Vulnerability
The vulnerability is a reachable assertion error in the gguf_reader::read function. An unauthenticated attacker can trigger this condition through specially crafted input, which causes the application to terminate unexpectedly.
Business impact
Successful exploitation of this vulnerability results in a denial of service, as the application will reach an assertion failure and crash. Given the CVSS score of 7.5, this high-severity flaw could lead to significant operational disruption for environments relying on llama.cpp for machine learning inference tasks. The lack of required authentication makes this particularly concerning for internet-exposed instances.
Remediation
Immediate Action: Monitor the official GitHub repository for the release of a patched version of llama.cpp that addresses the assertion failure in the gguf_reader::read function.
Proactive Monitoring: Review application logs and system error reports for frequent crashes or assertion failure messages associated with GGUF file processing.
Compensating Controls: Restrict access to services utilizing llama.cpp to trusted networks or internal users, and implement input validation layers to sanitize GGUF files before they are processed by the reader.
Exploitation status
Public Exploit Available: No
Analyst recommendation
Organizations should treat this vulnerability with high priority due to the ease of remote exploitation. While a specific patch version is currently pending, administrators should prepare for an immediate update once the vendor releases a fix. In the interim, strictly control the source of GGUF files to prevent malicious payloads from triggering the assertion failure.