Skip to content
VulniPulse
Medium5.5Red Hat Linux

Medium [CVE-2026-70639] Denial of Service in Android JNI wrapper via malicious model file

This medium-severity Red Hat Linux advisory covers CVE-2026-70639.

CVE-2026-70639 Published Aug 6, 2026Updated by vendor Aug 6, 2026
Affected products & platforms
Red Hat LinuxUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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.

This flaw allows an attacker to provide a malicious or corrupt model file, which causes the `bench_1model()` function to attempt to use an invalid memory address.

This leads to a crash of the Android application, resulting in a denial of service (DoS) where the application becomes unavailable. llama.cpp is packaged for Fedora (python-llama-cpp-python, ollama, llama-cpp) as Linux command-line/library builds.

This flaw is specific to the LLaMA-Android JNI wrapper's bench_1model() function, which is Android-only code that is not compiled or reachable in the standard Linux RPM builds. No Red Hat/community product is affected.

Red Hat severity: Moderate — CVSS 5.5 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H). Weakness: CWE-476.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • No mitigation is necessary; the Android-specific vulnerable code path is not present in the shipped Linux packages.

Official advisory · high-confidence parse· fetched 2 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.