Vulnerability

CVE-2026-43622

highCVSS 4.0 8.5Published 6 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Ggml llama.cpp

Weakness type

References

  • github.com /Vladimir-tokarev-cyera/llama-cpp-security-patches
  • github.com /ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758b…
  • github.com /ggml-org/llama.cpp/releases/tag/b7446
  • www.vulncheck.com /advisories/llama-cpp-b1886-b7445-double-free-via-llama-and…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning