5.5Medium

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

ggml-org llama.cpp Published: (3 months ago)

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): CWE-476

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ggml llama.cpp b1886 – ≤ b7445
ggml-org llama.cpp b1886 – ≤ b7445

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* ≥ b1886 ≤ b7445