CVE-2026-43630
Received Received - Intake

Out-of-Bounds Read in llama.cpp Slot Restore

Vulnerability report for CVE-2026-43630, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-06

Last updated on: 2026-08-06

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-06
Last Modified
2026-08-06
Generated
2026-08-07
AI Q&A
2026-08-07
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.
CWE-209 The product generates an error message that includes sensitive information about its environment, users, or associated data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds read issue in llama.cpp versions b5702 through b7653. It occurs when restoring recurrent memory states from slot files. Attackers with write access to the slot save directory can create a malicious file with an oversized seq_id value, causing the program to read memory beyond the allocated cells array. This leaks heap data, including pointer values, into server logs, which can defeat ASLR protections and enable further attacks.

Impact Analysis

If you use affected versions of llama.cpp, an attacker with write access to your slot save directory could exploit this to read sensitive memory contents. This may expose internal data, bypass security mechanisms like ASLR, and potentially facilitate additional attacks such as code execution or privilege escalation. The impact depends on your system configuration and deployment environment.

Compliance Impact

This vulnerability could lead to unauthorized data exposure, which may violate compliance requirements under GDPR (data protection) or HIPAA (health information privacy). If exploited, it might result in data breaches, unauthorized access to personal or sensitive data, and failure to maintain confidentiality and integrity of stored information.

Mitigation Strategies

Update llama.cpp to a version beyond b7653 to address the out-of-bounds read vulnerability in the recurrent memory state restore path.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-43630. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart