Skip to main content
← All vulnerabilities
CVE-2026-43622

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • ggml-org llama.cpp

    From b1886 · through b7445

References 4

GitHub · ggml-org/llama.cpp

GitHub · Vladimir-tokarev-cyera/llama-cpp-security-patches

vulncheck.com