PT-2026-29570 · Llama.Cpp · Llama.Cpp

Las7

·

Published

2026-04-01

·

Updated

2026-06-01

·

CVE-2026-34159

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions llama.cpp versions prior to b8492
Description A logic bug in the RPC backend's deserialize tensor() function allows an unauthenticated attacker to read and write arbitrary process memory. This occurs because bounds validation is skipped when a tensor's buffer field is set to 0. By sending crafted 'GRAPH COMPUTE' messages and utilizing pointer leaks from 'ALLOC BUFFER' and 'BUFFER GET BASE', an attacker can achieve a full ASLR (Address Space Layout Randomization) bypass and remote code execution. The attack requires only TCP access to the RPC server port and no authentication.
Recommendations Update to version b8492.

Fix

RCE

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-34159

Affected Products

Llama.Cpp