CVE-2026-43622
Last modified
CVE-2026-43622 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | >= b1886, <= b7445; >= 0.9.0, <= 0.17.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-43622?
How severe is CVE-2026-43622?
How do I fix CVE-2026-43622?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43616Detect-It-Easy prior to 3.21 contains a path traversal vulne…7.8
- CVE-2026-43617Rsync version 3.4.2 and prior contain an authorization bypas…6.3
- CVE-2026-43618Rsync version 3.4.2 and prior contain an integer overflow vu…8.1
- CVE-2026-43619Rsync version 3.4.2 and prior contain symlink race condition…7.2
- CVE-2026-4362The ElementsKit Elementor Addons plugin for WordPress is vul…6.5
- CVE-2026-43620Rsync version 3.4.2 and prior contain a receiver-side out-of…5.5
- CVE-2026-43623microtar through 0.1.0 contains a stack-based buffer overflo…8.8
- CVE-2026-43624F5-TTS through version 1.1.20 contains a path traversal vuln…8.8
- CVE-2026-43625CodexBar prior to 0.32.0 contains a session cookie leakage v…8.2
- CVE-2026-43627llama.cpp builds b1283 through b9058 contain an integer over…8.5
- CVE-2026-43628llama.cpp builds b3978 through b9058 contain an integer unde…8.5
- CVE-2026-43629llama.cpp builds b4882 through b9058 contain a heap buffer o…9.2
Are you affected by CVE-2026-43622?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
