Skip to content
HighVulnerabilityLLM-specific

CVE-2026-126975: llama.cpp GGUF file parsing heap buffer overflow allows code execution

Identifier
CVE-2026-126975
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A heap-based buffer overflow in llama.cpp's parsing of GGUF files, tracked as CVE-2026-126975, allows remote attackers to execute arbitrary code in the context of the current process. The flaw stems from missing validation of the length of user-supplied data before it is copied to a heap buffer. Exploitation requires user interaction: the target must visit a malicious page or open a malicious file.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.