CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-70640

highCVSS 7covered by 1 sourcefirst seen 2026-08-06
llama.cpp builds b1886 through b7445 contain a race condition use-after-free vulnerability in the LLaMA-Android JNI wrapper where bench_1model() and free_1context() lack synchronization, allowing Thread A to operate on freed memory while Thread B concurrently frees the llama_context. Attackers can exploit this by performing heap spray with attacker-controlled data containing a fake vtable to hijack the vtable pointer at offset +0x30, causing llama_batch_allocr::clear() to dereference arbitrary memory and achieve remote code execution.

⚡ Watch CVE-2026-70640

Get an email if CVE-2026-70640 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Advisory coverage (1)

External references

NVD record for CVE-2026-70640

CVE.org record

Embed the live status

CVE-2026-70640 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-70640 status](https://www.csirts.com/badge/CVE-2026-70640)](https://www.csirts.com/cve/CVE-2026-70640)