CVE-2026-70638
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Aug 6, 2026
CISA due date
—
The record
llama.cpp builds b1886 through b7445 contain an integer overflow vulnerability in the LLaMA-Android JNI wrapper where the new_1batch() function multiplies sizeof(llama_seq_id) by an attacker-controlled n_seq_max parameter without overflow validation, causing heap buffer allocation to wrap and allocate insufficient memory. Attackers can exploit this by providing a crafted n_seq_max value through a malicious model file or JNI call to trigger heap corruption and achieve denial of service or arbitrary code execution on Android applications using the LLaMA-Android binding.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-120775 Tanium addressed a heap-based buffer overflow vulnerability in Deploy. CWE-122
- CVE-2026-121517 A vulnerability was detected in IrfanView 4.76.0.0 on Win64. CWE-122
- CVE-2026-121247 Buffer overflow in Dawn in Google Chrome on on Android prior to 157.0.8103.38 allowed a… CWE-122
- CVE-2026-121180 Buffer overflow in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-122
- CVE-2026-121156 Buffer overflow in Dawn in Google Chrome prior to 157.0.8103.38 allowed a remote attacker… CWE-122
- CVE-2026-121113 Buffer overflow in PDFium in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-122
- CVE-2026-121086 Buffer overflow in Skia in Google Chrome prior to 157.0.8103.38 allowed a remote attacker… CWE-122
- CVE-2026-121047 Buffer overflow in Media in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-122