llama.cpp builds b1886 through b7445 contain a double...
High severity
Unreviewed
Published
Aug 6, 2026
to the GitHub Advisory Database
•
Updated Aug 7, 2026
Description
Published by the National Vulnerability Database
Aug 6, 2026
Published to the GitHub Advisory Database
Aug 6, 2026
Last updated
Aug 7, 2026
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.
References