CriticalVulnerabilityLLM-specific
CVE-2026-34159: llama.cpp RPC backend unauthenticated memory read and write
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-34159
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
CVE-2026-34159 affects llama.cpp, an inference library for LLM models in C/C++, prior to version b8492. In its RPC backend, deserialize_tensor() skips all bounds validation when a tensor's buffer field is 0, letting an unauthenticated attacker read and write arbitrary process memory through crafted GRAPH_COMPUTE messages. Combined with pointer leaks from ALLOC_BUFFER and BUFFER_GET_BASE, this gives full ASLR bypass and remote code execution, requiring only TCP access to the RPC server port.
Mitigation
This issue has been patched in version b8492.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online