Vulnerability details

CVE-2026-43622

ggml-org llama.cpp

llama.cpp b1886–b7445 Double Free via llama-android.cpp

CVSS 4.0
8.5High

Official description

llama.cpp builds b1886 through b7445 contain a double free vulnerability in the LLaMA-Android JNI wrapper where new_1batch() allocates memory using malloc() while free_1batch() deallocates it using the C++ delete operator, causing heap metadata corruption. Attackers can trigger this memory management mismatch to cause denial of service through process crashes or potentially achieve arbitrary code execution depending on allocator state.

CVSS scores

ScoreVersionSourceVector
8.5High 4.0 CVEProject cvelistV5 (CNA) (VulnCheck) CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
7.8High 3.1 CVEProject cvelistV5 (CNA) (VulnCheck) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
ggml-org llama.cpp b1886 ≤ v ≤ b7445 CVEProject cvelistV5 (CNA)

References and advisories

4
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-08-06
Last updated
2026-11-08
State
Published
Assigner (CNA)
VulnCheck

Exploit prediction (EPSS)

0.23%
Probability of exploitation in 30 days
13.9%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-762
    Mismatched Memory Management Routines
  • CWE-415
    Double Free