CVE-2026-34159: llama.cpp: Unauthenticated RCE via GRAPH_COMPUTE buffer=0 bypass in llama.cpp RPC backend

Published Apr 1, 2026
·
Updated

llama.cpp is an inference of several LLM models in C/C++. Prior to version b8492, the RPC backend's deserializetensor() skips all bounds validation when a tensor's buffer field is 0. An unauthenticated attacker can read and write arbitrary process memory via crafted GRAPHCOMPUTE messages. Combined with pointer leaks from ALLOCBUFFER/BUFFERGETBASE, this gives full ASLR bypass and remote code execution. No authentication required, just TCP access to the RPC server port. This issue has been patched in version b8492.

Affected Software

2 affected components
Llama.cpp llama.cpp<b8492
ggml llama.cpp<b8492

Event History

Apr 1, 2026
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34159?

CVE-2026-34159 is rated as a critical vulnerability due to the potential for unauthenticated remote code execution.

2

How do I fix CVE-2026-34159?

To mitigate CVE-2026-34159, upgrade to version b8492 or later of llama.cpp which includes the necessary bounds validation.

3

What does CVE-2026-34159 affect?

CVE-2026-34159 affects the RPC backend of the llama.cpp software for Large Language Model inference.

4

Can CVE-2026-34159 be exploited remotely?

Yes, CVE-2026-34159 can be exploited remotely due to the unauthenticated nature of the vulnerability.

5

What specific component is vulnerable in CVE-2026-34159?

The vulnerable component in CVE-2026-34159 is the deserialize_tensor() function in the llama.cpp RPC backend.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203