Skip to main content
EPSS 0.1%top 97%

CVE-2026-70639: NULL Pointer Dereference in ggml-org llama.cpp

0
Medium
Published: 08/06/2026 (08/06/2026, 15:37:30 UTC)
Source: CVE Database V5
Vendor/Project: ggml-org
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

ggml-org

llama.cpp

Affected versions
>=b1886 <=b7445>=0.9.0 <=0.17.1
GitHub Actionsmore threats →ai
ggml-org/llama.cpp
pkg:github/ggml-org/llama.cpp
Affected versions
=0.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 15:55:06 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses