PT-2026-68794 · Llama.Cpp · Llama.Cpp
CVE-2026-70639
·
Published
2026-08-06
·
Updated
2026-08-07
CVSS v4.0
6.8
Medium
| Vector | AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
llama.cpp builds b1886 through b7445
Description
A null pointer dereference occurs in the LLaMA-Android JNI wrapper. The
bench 1model() function does not validate the model context pointer before dereferencing it. An attacker can provide a malicious, corrupt, or truncated model file to trigger a null context condition, leading to a SIGSEGV crash (a segmentation fault caused by accessing an invalid memory address) that terminates the Android application process and results in denial of service.Recommendations
Update llama.cpp to a version later than build b7445.
Exploit
Fix
DoS
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Llama.Cpp