CVE-2026-70639 Details
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.
A null pointer dereference vulnerability has been identified in the LLaMA-Android JNI wrapper of llama.cpp, specifically in builds b1886 through b7445. The issue arises in the bench_1model() function, which fails to properly validate the model context pointer before dereferencing it. This vulnerability can be exploited by supplying a malicious, corrupt, or truncated model file, leading to a null context condition. The resulting dereference causes a SIGSEGV crash, terminating the Android application process and causing a denial-of-service condition.
Users can apply the patch available in the GitHub repository 'Vladimir-tokarev-cyera/llama-cpp-security-patches' to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388 | [email protected] | Patch |
| https://github.com/ggml-org/llama.cpp/releases/tag/b7446 | [email protected] | PatchRelease NotesVendor Advisory |
| https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches | [email protected] | PatchThird Party Advisory |
| https://www.vulncheck.com/advisories/llama-cpp-b1886-b7445-null-pointer-dereference-dos-via-llama-android-cpp | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ggml llama.cpp | >= b1886, <= b7445 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | Initial Analysis | [email protected] |
| Aug 7, 2026 | CVE Modified | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |