mediumCVSS 5.5NVD status: Analyzed

CVE-2026-70639

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...

Componentllama.cpp
Severitymedium (CVSS 5.5)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published (NVD)2026-08-06
Last modified2026-09-21
Affected versions
llama.cpp >= b1886, <= b7445
Fixed insee the vendor advisory
WeaknessCWE-476
CISA KEVnot listed

NVD 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.

Does CVE-2026-70639 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for llama.cpp.
Check my stack

What to do

  • NVD lists no fixed version yet: follow the vendor advisory below and keep llama.cpp off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Other llama.cpp CVEs

All llama.cpp CVEs