CVE-2026-126975
CVE-2026-126975 · llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
CVSS 7.8 · High · EPSS 0.3%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- llama.cppNo fix published
- llama.cpp Ubuntu 26.10No fix published
- llama.cpp Ubuntu 26.04 LTSNo fix published
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="llama.cpp"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
llama.cpp GGUF File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of llama.cpp. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of GGUF files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-34558.
- Published
- Updated
Stack: system
Affected products and versions
llama.cpp
- Versions
- b11160 (70c4e1582): Affected
No fix published
llama.cpp Ubuntu 26.10
- Versions
- 8681+dfsg-1
- 9721+dfsg-1ubuntu1
- 10438+dfsg-1
- 10438+dfsg-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
llama.cpp Ubuntu 26.04 LTS
- Versions
- 5882+dfsg-2
- 8064+dfsg-1ubuntu1
- 8681+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published