4 matches found
CVE-2026-43622
CVE-2026-43622 affects llama.cpp builds b1886–b7445, where the LLaMA-Android JNI wrapper presents a double free vulnerability. The code allocates memory with malloc() in new_1batch() but frees it with the C++ delete operator in free_1batch(), leading to heap metadata corruption. Consequences desc...
CVE-2026-70639
CVE-2026-70639 affects llama.cpp builds b1886–b7445, specifically the LLaMA-Android JNI wrapper. The vulnerability arises because bench_1model() does not validate the model context pointer before dereferencing it, causing a null pointer dereference. An attacker can supply a malformed, corrupt, or...
CVE-2026-70638
CVE-2026-70638 affects the llama.cpp project, specifically the LLaMA-Android JNI wrapper. Versions b1886–b7445 are vulnerable due to an integer overflow in new_1batch(), which multiplies sizeof(llama_seq_id) by an attacker-controlled n_seq_max without overflow validation, causing the heap allocat...
CVE-2026-70640
The CVE-2026-70640 issue affects llama.cpp builds b1886–b7445, with a race condition in the LLaMA-Android JNI wrapper: bench_1model() and free_1context() lack synchronization, allowing a thread to operate on freed llama_context memory. Attackers could perform heap spray using attacker-controlled ...