Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-70639 EUVD-2026-54278GHSA-6xfh-c5w2-8vqf

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

Published Aug 6, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
ggml-org llama.cpp b1886 – ≤ b7445 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 llama.cpp 7593+dfsg-1 —

References