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
| Score | Version | Source | Vector |
|---|---|---|---|
| 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
| Vendor | Product | Versions | Source |
|---|---|---|---|
| ggml-org | llama.cpp | b1886 ≤ v ≤ b7445 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/ggml-org/llama.cpp/releases/tag/b7446 release-notes
- https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388 patch
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches related
- https://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-double-free-via-llama-android-cpp third-party-advisory
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-762Mismatched Memory Management Routines
- CWE-415Double Free