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.
CVE-2026-70638
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-07. the CNA's CVSS baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.8
- EG Score
- 7.8(high)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 3%
- KEV
- Not listed
Published
August 6, 2026
Last Modified
August 14, 2026
Advisory Details (3)
Auto-updated Aug 6, 2026GitHub - Vladimir-tokarev-cyera/llama-cpp-security-patches: Security patches for unpatched llama.cpp vulnerabilities (CVE-2026-43626 through CVE-2026-43632) — Cyera Research · GitHub
https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchescommit 5c0d18881e0e (ggml-org/llama.cpp)
Fix landed in ggml-org/llama.cpp commit 5c0d18881e0e — awaiting tagged release
https://github.com/ggml-org/llama.cpp/commit/5c0d18881e0e9794c96b2602736b758bac9d9388b7446
Patch available: ggml-org/llama.cpp b7446
https://github.com/ggml-org/llama.cpp/releases/tag/b7446Vendor Advisories for CVE-2026-70638(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| llama.cpp | 5151+dfsg-1~exp2 ... 6641+dfsg-3 (19 versions) | 7593+dfsg-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 30× in last 7d / 66× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 03:07 UTCEG score recompute
- 2026-08-21 03:06 UTCGHSA enrichment
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 14:19 UTCGHSA enrichment
- 2026-08-20 01:05 UTCEG score recompute
- 2026-08-20 01:05 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 12:16 UTCGHSA enrichment
- 2026-08-18 23:29 UTCEG score recompute
- 2026-08-18 23:29 UTCGHSA enrichment
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 10:42 UTCGHSA enrichment
- 2026-08-17 21:54 UTCEG score recompute
- 2026-08-17 21:54 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 09:06 UTCGHSA enrichment
- 2026-08-16 20:19 UTCEG score recompute
- 2026-08-16 20:19 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 07:31 UTCEG score recompute
- 2026-08-16 07:31 UTCGHSA enrichment
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 18:45 UTCGHSA enrichment
Show 41 moreShow fewer
- 2026-08-15 05:58 UTCEG score recompute
- 2026-08-15 05:58 UTCGHSA enrichment
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-14 17:10 UTCEG score recompute
- 2026-08-14 17:10 UTCGHSA enrichment
- 2026-08-14 04:53 UTCEG score recompute
- 2026-08-14 04:53 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 16:06 UTCGHSA enrichment
- 2026-08-13 03:19 UTCGHSA enrichment
- 2026-08-12 14:32 UTCEG score recompute
- 2026-08-12 14:32 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 01:45 UTCEG score recompute
- 2026-08-12 01:45 UTCGHSA enrichment
- 2026-08-11 12:58 UTCGHSA enrichment
- 2026-08-11 00:11 UTCEG score recompute
- 2026-08-11 00:11 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 11:24 UTCGHSA enrichment
- 2026-08-09 22:37 UTCEG score recompute
- 2026-08-09 22:37 UTCGHSA enrichment
- 2026-08-09 13:47 UTCEPSS rescore
- 2026-08-09 09:50 UTCGHSA enrichment
- 2026-08-08 21:03 UTCEG score recompute
- 2026-08-08 21:03 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 08:16 UTCGHSA enrichment
- 2026-08-07 19:29 UTCEG score recompute
- 2026-08-07 19:29 UTCGHSA enrichment
- 2026-08-07 19:12 UTCEG score recompute
- 2026-08-07 19:12 UTCGHSA enrichment
- 2026-08-07 16:23 UTCEG score recompute
- 2026-08-07 16:23 UTCGHSA enrichment
- 2026-08-07 15:23 UTCEG score recompute
- 2026-08-07 15:23 UTCGHSA enrichment
- 2026-08-07 11:25 UTCEG score recompute
- 2026-08-07 11:25 UTCGHSA enrichment
- 2026-08-06 22:38 UTCEG score recompute
- 2026-08-06 22:18 UTCEG score recompute
- 2026-08-06 22:15 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-190 · CWE-122
Frequently asked(5)
What is CVE-2026-70638?
When was CVE-2026-70638 disclosed?
Is CVE-2026-70638 actively exploited?
What is the CVSS score of CVE-2026-70638?
How do I remediate CVE-2026-70638?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-70638
Is Your Infrastructure Affected by CVE-2026-70638?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.