CVE-2026-70639 llama.cpp b1886–b7445 Null Pointer Dereference DoS via llama-android.cpp

Medium 6.8 Published Updated

Attackers can cause a denial of service in Android applications using llama.cpp by supplying a corrupt model file that triggers a null pointer dereference crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-70639?

CVE-2026-70639 is a medium-severity vulnerability in ggml-org llama.cpp, published on 6 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2026-70639?

It affects 1 product.

Products include Ggml Llama.cpp.

How do I fix CVE-2026-70639?

Apply the vendor's patch.

Is CVE-2026-70639 being exploited?

There is no known exploitation of CVE-2026-70639 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-70639, GHSA-6xfh-c5w2-8vqf.

Is CVE-2026-70639 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free