CVE-2026-70639: NULL Pointer Dereference in ggml-org llama.cpp
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.
AI Analysis
Technical Summary
The vulnerability in llama.cpp (ggml-org) affects builds from b1886 through b7445, including version 0.9.0. The bench_1model() function in the LLaMA-Android JNI wrapper fails to check if the model context pointer is null before dereferencing it. An attacker can exploit this by providing a malicious, corrupt, or truncated model file, triggering a null pointer dereference that causes a segmentation fault (SIGSEGV) crash. This crash terminates the Android application process, leading to denial of service. There is no indication of remote code execution or privilege escalation. The vulnerability is tracked as CVE-2026-70639 with a CVSS 4.0 score of 6.8 (medium severity).
Potential Impact
Exploitation causes a denial of service by crashing the Android application using the vulnerable llama.cpp JNI wrapper. The crash results from a null pointer dereference triggered by malformed model files. There is no evidence of code execution or data compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Until a fix is released, avoid using untrusted or malformed model files with the affected versions to prevent application crashes.
CVE-2026-70639: NULL Pointer Dereference in ggml-org llama.cpp
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.
CVSS v4.0
Score 6.8medium
Affected software
ggml-org
llama.cpp
pkg:github/ggml-org/llama.cppRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in llama.cpp (ggml-org) affects builds from b1886 through b7445, including version 0.9.0. The bench_1model() function in the LLaMA-Android JNI wrapper fails to check if the model context pointer is null before dereferencing it. An attacker can exploit this by providing a malicious, corrupt, or truncated model file, triggering a null pointer dereference that causes a segmentation fault (SIGSEGV) crash. This crash terminates the Android application process, leading to denial of service. There is no indication of remote code execution or privilege escalation. The vulnerability is tracked as CVE-2026-70639 with a CVSS 4.0 score of 6.8 (medium severity).
Potential Impact
Exploitation causes a denial of service by crashing the Android application using the vulnerable llama.cpp JNI wrapper. The crash results from a null pointer dereference triggered by malformed model files. There is no evidence of code execution or data compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Until a fix is released, avoid using untrusted or malformed model files with the affected versions to prevent application crashes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-04T20:17:18.298Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a75070dbf8831d5395f5c76
Added to database: 08/06/2026, 22:13:33 UTC
Last enriched: 08/14/2026, 15:55:06 UTC
Last updated: 09/21/2026, 22:01:37 UTC
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.