9.2

CVE-2026-43629: llama.cpp b4882–b9058 Buffer Overflow in KV Cache State Restore

Analyzed
AliasesUBUNTU-CVE-2026-43629DEBIAN-CVE-2026-43629
Published 06-08-2026Last modified 29-10-2026

Vulnerability summary

CVE-2026-43629 is a critical (CVSS 9.2) Integer Overflow or Wraparound vulnerability in ggml-org llama.cpp. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 20-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.70%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-08-2026
    PublishedVulnerability first disclosed.
  2. 29-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 4 sources · 2 versions

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.70% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • llama.cppAll versions (No fix recorded)
Ggml1 product
Ggml-org1 product
Ubuntu1 product
  • llama.cppAll versions (No fix recorded)

4 vendors · 4 products

References

5 links