FR
live
High CVSS 8.1

CVE-2026-43629

NVD analysis in progress

llama.cpp builds b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.

What this means

Exposure
Exploitable remotely over the network, without authentication and with no action from the victim. The attack does require particular conditions, which makes it less systematic.
Impact
An attacker can read sensitive data, modify or destroy data and take the service offline.
Weakness
A computation exceeds the integer type’s range, producing a nonsensical size and a broken allocation.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle. Start with the instances exposed to the internet.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
6 August 2026
CVSS
8.1 (v3.1) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.62% probability of exploitation within 30 days · above 47% of all CVEs
Weakness
CWE-190CWE-787
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss