Elevated
llama.cpp GGUF file parsing overflow allows remote code execution
CVE-2026-126974
AI model app: a malicious file can let attackers hack your PC.
- CVE
- CVE-2026-126974 (opens in a new tab)
- Score
- CVSS 7.8
- Public date
- 2026-11-13
- First seen
Mitigation
Update llama.cpp to a build that includes PR #31336, merged into master. No source names a fixed version number.
Summary
llama.cpp's GGUF file parser has an integer overflow before writing to memory, so a remote attacker can run arbitrary code once a user visits a malicious page or opens a malicious file. The CVE record lists build b11160 (70c4e1582) as affected.
Affected when
User must visit a malicious page or open a malicious file
2 other Incidents of this product in the last 30 days
Incidents by product: llama.cpp
Other recent Incidents of llama.cpp
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- Write-up: zerodayinitiative.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)