Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-43630: llama.cpp out-of-bounds read in recurrent memory state restore via slot file

Identifier
CVE-2026-43630
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

llama.cpp builds b4882 before b8487 contain an out-of-bounds read in the recurrent memory state restore path. An attacker with write access to the slot save directory can craft a malicious slot file with an oversized seq_id value, reading memory past the end of the allocated cells array and leaking heap data, including pointer values, into server logs. This defeats ASLR and facilitates further exploitation.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.