CVE-2026-43622
published high CVSS 4.0 · 8.5llama.cpp b1886–b7445 Double Free via llama-android.cpp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppb1886 through b7445 (affected · custom) · 5c0d18881e0e9794c96b2602736b758bac9d9388 (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | b1886 through b7445 (affected · custom)5c0d18881e0e9794c96b2602736b758bac9d9388 (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-762 Mismatched Memory Management Routines
- CWE-415 Double Free
References
4- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches
- https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388
- llama.cpp b7446 Release Notes https://github.com/ggml-org/llama.cpp/releases/tag/b7446
- https://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-double-free-via-llama-android-cpp
Provider assertions
2VulnCheck · cna
llama.cpp b1886–b7445 Double Free via llama-android.cpp
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c0ff3a89878856c58b37a0cc687f516b1741e7c665d63122669fedcf2585f5d0
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record