CVE-2026-43622
Received
Received - Intake
Double Free in llama.cpp LLaMA-Android JNI Wrapper
Vulnerability report for CVE-2026-43622, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-06
Last updated on: 2026-08-06
Assigner: VulnCheck
Description
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
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ggml-org | llama.cpp | * |
| cyera_research | llama.cpp | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-762 | The product attempts to return a memory resource to the system, but it calls a release function that is not compatible with the function that was originally used to allocate that resource. |
| CWE-415 | The product calls free() twice on the same memory address. |