CVE-2026-43630 Details
Description
llama.cpp builds b5702 through b7653 contain an out-of-bounds read vulnerability in the recurrent memory state restore path that allows attackers with write access to the slot save directory to read memory past the end of the allocated cells array. Attackers can craft a malicious slot file with an oversized seq_id value to trigger an out-of-bounds read that leaks heap data including pointer values into server logs, defeating ASLR protections and facilitating further exploitation.
An out-of-bounds read vulnerability has been identified in llama.cpp versions b5702 through b7653. This vulnerability occurs in the recurrent memory state restore path, allowing attackers with write access to the slot save directory to read memory beyond the allocated cells array. By crafting a malicious slot file with an oversized seq_id value, attackers can trigger the out-of-bounds read, leaking heap data, including pointer values, into server logs. This leakage can defeat Address Space Layout Randomization (ASLR) protections, facilitating further exploitation.
Users can apply the available patch to fix this vulnerability. Instructions for applying the patch can be found in the llama.cpp security patches repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ggml llama.cpp | >= b5702, <= b7653 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | Initial Analysis | [email protected] |
| Aug 7, 2026 | CVE Modified | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |