CVE-2026-43622CWE-415CWE-762

CVE-2026-43622

High · published August 6, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00156 · 5.1th percentile
Weaknesses
CWE-415 · Double Free; CWE-762 · Mismatched Memory Management Routines
Published
2026-08-06T20:16Z
Affected products (1)
ProductVersionsFixed in
ggml/llama.cpp≥ b1886, ≤ b7445
References (4)
EPSS history
Timeline
  • 06 AUG 15:27Z
    llama.cpp b1886–b7445 Double Free via llama-android.cpp
    cvelistv5