THREATOPS
THREAT OPSThreat News › [NVD] CVE-2026-70640 (HIGH 7.0) — 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_cont

[NVD] CVE-2026-70640 (HIGH 7.0) — 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_cont

lownvdPublished 2026-08-06

CVE-2026-70640 CVSS: 7.0 HIGH Published: 2026-08-06T22:18:28.927

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 spr

Indicators of compromise

Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-70640