CVE-2026-70639

Summary

llama.cpp builds b1886 through b7445 contain a null pointer dereference vulnerability in the LLaMA-Android JNI wrapper where the bench_1model() function fails to validate the model context pointer before dereferencing it. Attackers can supply a malicious, corrupt, or truncated model file to trigger a null context condition, causing a SIGSEGV crash that terminates the Android application process and results in denial of service.

Affected Software

VendorProductVersion RangeStatus
ggml-orgllama.cppb1886 <= b7445affected
ggml-orgllama.cpp0.9.0 <= 0.17.1affected
ggml-orgllama.cpp5c0d18881e0e9794c96b2602736b758bac9d9388unaffected

Weaknesses

  • CWE-476: CWE-476 NULL Pointer Dereference

References