HighVulnerabilityLLM-specific
ZDI-26-1075: llama.cpp GGUF File Parsing set_swa_pattern Heap-based Buffer Overflow Remote Code Execution Vulnerability
- Published
- Record updated
Summary
ZDI-26-1075 describes a heap-based buffer overflow in llama.cpp's parsing of GGUF files, tracked as CVE-2026-131833 and rated CVSS 7.8 by ZDI. The flaw stems from copying user-supplied data into a fixed-length heap buffer without validating its length, and remote attackers can exploit it to execute arbitrary code in the context of the current process. Exploitation requires the target to visit a malicious page or open a malicious file.
Mitigation
llama.cpp has issued an update to correct this vulnerability. More details are at https://github.com/ggml-org/llama.cpp/pull/26051.
Topics
Related items
- HighCVE-2026-136539: LiteLLM code injection via pass-through endpointsSimilar attack · NVD/CVE Database
- HighCVE-2026-136538: LiteLLM privilege escalation through virtual key model aliasesSimilar attack · NVD/CVE Database
- HighCVE-2026-136537: LiteLLM key_management_endpoints missing authorization allows bypassSimilar attack · NVD/CVE Database
- MediumCVE-2026-136536: LiteLLM is_request_body_safe Server-Side Request Forgery Information Disclosure Vulnerability. This vulnerability…Similar attack · NVD/CVE Database
- HighCVE-2026-136535: LiteLLM MCP stdio configuration command injection leading to code executionSimilar attack · NVD/CVE Database