CVE-2026-43622

HIGH

llama.cpp b1886–b7445 Double Free via llama-android.cpp

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-415 CWE-762
Status published
Products (3)
ggml-org/llama.cpp 0.9.0 - 0.17.1
ggml-org/llama.cpp 5c0d18881e0e9794c96b2602736b758bac9d9388
ggml-org/llama.cpp b1886 - b7445
Published Aug 06, 2026
Tracked Since Aug 06, 2026