llama.cpp builds b1886 through b7445 contain a race condition use-after-free vulnerability in the LLaMA-Android JNI wrapper where bench_1model() and free_1context() lack synchronization, allowing Thread A to operate on freed memory while Thread B concurrently frees the llama_context. Attackers can exploit this by performing heap spray with attacker-controlled data containing a fake vtable to hijack the vtable pointer at offset +0x30, causing llama_batch_allocr::clear() to dereference arbitrary memory and achieve remote code execution.
CVE-2026-70640
Score 7.0 from GitHub Security Advisory (severity: HIGH) published 2026-08-07. a secondary CVSS source baseline 7.0; 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.0
- EG Score
- 7.0(medium)
- EG Risk
- 32(Track)EG Risk 32/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 computedSeverity70% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 6%
- KEV
- Not listed
Published
August 6, 2026
Last Modified
August 31, 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-70640(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 22× in last 7d / 104× 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.
Showing the most recent 100 of 172 total refreshes for this CVE.
- 2026-09-20 00:12 UTCEG score recompute
- 2026-09-20 00:12 UTCGHSA enrichment
- 2026-09-19 13:01 UTCGHSA enrichment
- 2026-09-19 00:44 UTCEG score recompute
- 2026-09-19 00:44 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 13:35 UTCGHSA enrichment
- 2026-09-18 02:25 UTCEG score recompute
- 2026-09-18 02:25 UTCGHSA enrichment
- 2026-09-17 15:15 UTCGHSA enrichment
- 2026-09-17 00:58 UTCEG score recompute
- 2026-09-17 00:58 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-16 03:00 UTCGHSA enrichment
- 2026-09-15 14:27 UTCEG score recompute
- 2026-09-15 14:27 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-15 01:10 UTCGHSA enrichment
- 2026-09-14 11:21 UTCGHSA enrichment
- 2026-09-14 00:12 UTCEG score recompute
- 2026-09-14 00:12 UTCGHSA enrichment
- 2026-09-13 12:59 UTCGHSA enrichment
- 2026-09-13 01:49 UTCEG score recompute
- 2026-09-13 01:49 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-12 14:39 UTCGHSA enrichment
- 2026-09-12 03:29 UTCGHSA enrichment
- 2026-09-11 16:19 UTCEG score recompute
- 2026-09-11 16:19 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 04:55 UTCGHSA enrichment
- 2026-09-10 17:45 UTCEG score recompute
- 2026-09-10 17:45 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-10 06:34 UTCGHSA enrichment
- 2026-09-09 18:53 UTCGHSA enrichment
- 2026-09-09 06:09 UTCEG score recompute
- 2026-09-09 06:09 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 07:41 UTCGHSA enrichment
- 2026-09-07 17:57 UTCEG score recompute
- 2026-09-07 17:57 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 14:45 UTCEG score recompute
- 2026-09-06 14:45 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 03:35 UTCEG score recompute
- 2026-09-06 03:35 UTCGHSA enrichment
- 2026-09-05 16:26 UTCEG score recompute
- 2026-09-05 16:26 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 03:32 UTCGHSA enrichment
- 2026-09-04 09:12 UTCEG score recompute
- 2026-09-04 09:12 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 17:26 UTCGHSA enrichment
- 2026-09-03 06:15 UTCEG score recompute
- 2026-09-03 06:15 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-02 06:56 UTCGHSA enrichment
- 2026-09-01 18:13 UTCEG score recompute
- 2026-09-01 18:13 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 20:45 UTCEG score recompute
- 2026-08-31 20:45 UTCGHSA enrichment
- 2026-08-31 10:01 UTCGHSA enrichment
- 2026-08-30 20:53 UTCEG score recompute
- 2026-08-30 20:53 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 09:44 UTCEG score recompute
- 2026-08-30 09:44 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 21:50 UTCGHSA enrichment
- 2026-08-29 10:40 UTCEG score recompute
- 2026-08-29 10:40 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 12:02 UTCGHSA enrichment
- 2026-08-27 19:51 UTCEG score recompute
- 2026-08-27 19:51 UTCGHSA enrichment
- 2026-08-27 07:56 UTCGHSA enrichment
- 2026-08-26 20:13 UTCEG score recompute
- 2026-08-26 20:13 UTCGHSA enrichment
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 09:01 UTCGHSA enrichment
- 2026-08-25 21:51 UTCEG score recompute
- 2026-08-25 21:51 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 10:18 UTCGHSA enrichment
- 2026-08-24 23:08 UTCEG score recompute
- 2026-08-24 23:08 UTCGHSA enrichment
- 2026-08-24 11:59 UTCEG score recompute
- 2026-08-24 11:59 UTCGHSA enrichment
- 2026-08-24 00:35 UTCGHSA enrichment
- 2026-08-23 13:25 UTCGHSA enrichment
- 2026-08-23 02:15 UTCEG score recompute
- 2026-08-23 02:15 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 15:03 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-476 · CWE-362
Frequently asked(5)
What is CVE-2026-70640?
When was CVE-2026-70640 disclosed?
Is CVE-2026-70640 actively exploited?
What is the CVSS score of CVE-2026-70640?
How do I remediate CVE-2026-70640?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-70640
Is Your Infrastructure Affected by CVE-2026-70640?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.