CVE-2026-70640

HIGHPre-NVD 7.07.0—
EchelonGraph scoreMEDIUM confidence

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.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this week
7.0EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.2%CVSS: 7.0Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
7.0
EG Score
7.0HIGHmedium confidence
EG Risk
32
EG Risk 32/100CISA SSVC

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 computed
Severity70% × 45%
Exploitation0% × 40%
Automatability0% × 15%
CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
0.2%
EPSS %ILE
13th
KEV
Not listed

CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

August 6, 2026

Last Modified

September 21, 2026

Advisory Details (3)

Auto-updated Aug 6, 2026
Patch available. Sources: github_release, github_commit.
generic

GitHub - 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-patches
github_commit

commit 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/5c0d18881e0e9794c96b2602736b758bac9d9388
github_release Patch Available

b7446

Patch available: ggml-org/llama.cpp b7446

https://github.com/ggml-org/llama.cpp/releases/tag/b7446

Vendor 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)
PackageVulnerable rangeFix by version rangeDependents
llama.cpp5151+dfsg-1~exp2 ... 6641+dfsg-3 (19 versions)
  • every version up to 7593+dfsg-1: fixed in 7593+dfsg-1
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 19× in last 7d / 93× 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 213 total refreshes for this CVE.

  1. 2026-10-04 23:23 UTCEG score recompute
  2. 2026-10-04 23:23 UTCGHSA enrichment
  3. 2026-10-04 23:22 UTCEPSS rescore
  4. 2026-10-04 05:50 UTCEG score recompute
  5. 2026-10-04 05:50 UTCGHSA enrichment
  6. 2026-10-03 14:26 UTCEPSS rescore
  7. 2026-10-03 01:04 UTCEG score recompute
  8. 2026-10-03 01:04 UTCGHSA enrichment
  9. 2026-10-02 17:56 UTCEPSS rescore
  10. 2026-10-02 09:40 UTCEG score recompute
  11. 2026-10-02 09:40 UTCGHSA enrichment
  12. 2026-10-01 19:50 UTCEPSS rescore
  13. 2026-10-01 12:53 UTCGHSA enrichment
  14. 2026-10-01 01:44 UTCEG score recompute
  15. 2026-10-01 01:44 UTCGHSA enrichment
  16. 2026-09-30 15:03 UTCEPSS rescore
  17. 2026-09-29 05:54 UTCEG score recompute
  18. 2026-09-29 05:54 UTCGHSA enrichment
  19. 2026-09-28 13:52 UTCEPSS rescore
  20. 2026-09-28 04:40 UTCGHSA enrichment
  21. 2026-09-27 17:30 UTCEG score recompute
  22. 2026-09-27 17:30 UTCGHSA enrichment
  23. 2026-09-27 13:48 UTCEPSS rescore
  24. 2026-09-26 15:59 UTCEPSS rescore
  25. 2026-09-25 04:22 UTCEG score recompute
Show 75 more
  1. 2026-09-25 04:22 UTCGHSA enrichment
  2. 2026-09-24 08:27 UTCGHSA enrichment
  3. 2026-09-23 21:18 UTCEG score recompute
  4. 2026-09-23 21:18 UTCGHSA enrichment
  5. 2026-09-23 17:54 UTCEPSS rescore
  6. 2026-09-23 08:34 UTCGHSA enrichment
  7. 2026-09-22 21:21 UTCEG score recompute
  8. 2026-09-22 21:21 UTCGHSA enrichment
  9. 2026-09-22 05:28 UTCEG score recompute
  10. 2026-09-22 05:27 UTCGHSA enrichment
  11. 2026-09-21 21:09 UTCEPSS rescore
  12. 2026-09-21 18:17 UTCGHSA enrichment
  13. 2026-09-21 12:49 UTCGHSA enrichment
  14. 2026-09-20 20:35 UTCEG score recompute
  15. 2026-09-20 20:35 UTCGHSA enrichment
  16. 2026-09-20 20:16 UTCEPSS rescore
  17. 2026-09-20 00:12 UTCEG score recompute
  18. 2026-09-20 00:12 UTCGHSA enrichment
  19. 2026-09-19 13:01 UTCGHSA enrichment
  20. 2026-09-19 00:44 UTCEG score recompute
  21. 2026-09-19 00:44 UTCGHSA enrichment
  22. 2026-09-18 19:28 UTCEPSS rescore
  23. 2026-09-18 13:35 UTCGHSA enrichment
  24. 2026-09-18 02:25 UTCEG score recompute
  25. 2026-09-18 02:25 UTCGHSA enrichment
  26. 2026-09-17 15:15 UTCGHSA enrichment
  27. 2026-09-17 00:58 UTCEG score recompute
  28. 2026-09-17 00:58 UTCGHSA enrichment
  29. 2026-09-16 14:08 UTCEPSS rescore
  30. 2026-09-16 05:15 UTCEPSS rescore
  31. 2026-09-16 03:00 UTCGHSA enrichment
  32. 2026-09-15 14:27 UTCEG score recompute
  33. 2026-09-15 14:27 UTCGHSA enrichment
  34. 2026-09-15 03:12 UTCEPSS rescore
  35. 2026-09-15 01:10 UTCGHSA enrichment
  36. 2026-09-14 11:21 UTCGHSA enrichment
  37. 2026-09-14 00:12 UTCEG score recompute
  38. 2026-09-14 00:12 UTCGHSA enrichment
  39. 2026-09-13 12:59 UTCGHSA enrichment
  40. 2026-09-13 01:49 UTCEG score recompute
  41. 2026-09-13 01:49 UTCGHSA enrichment
  42. 2026-09-12 15:02 UTCEPSS rescore
  43. 2026-09-12 14:39 UTCGHSA enrichment
  44. 2026-09-12 03:29 UTCGHSA enrichment
  45. 2026-09-11 16:19 UTCEG score recompute
  46. 2026-09-11 16:19 UTCGHSA enrichment
  47. 2026-09-11 14:53 UTCEPSS rescore
  48. 2026-09-11 04:55 UTCGHSA enrichment
  49. 2026-09-10 17:45 UTCEG score recompute
  50. 2026-09-10 17:45 UTCGHSA enrichment
  51. 2026-09-10 09:35 UTCEPSS rescore
  52. 2026-09-10 06:34 UTCGHSA enrichment
  53. 2026-09-09 18:53 UTCGHSA enrichment
  54. 2026-09-09 06:09 UTCEG score recompute
  55. 2026-09-09 06:09 UTCGHSA enrichment
  56. 2026-09-08 22:01 UTCEPSS rescore
  57. 2026-09-08 07:41 UTCGHSA enrichment
  58. 2026-09-07 17:57 UTCEG score recompute
  59. 2026-09-07 17:57 UTCGHSA enrichment
  60. 2026-09-07 16:01 UTCEPSS rescore
  61. 2026-09-06 14:45 UTCEG score recompute
  62. 2026-09-06 14:45 UTCGHSA enrichment
  63. 2026-09-06 13:47 UTCEPSS rescore
  64. 2026-09-06 03:35 UTCEG score recompute
  65. 2026-09-06 03:35 UTCGHSA enrichment
  66. 2026-09-05 16:26 UTCEG score recompute
  67. 2026-09-05 16:26 UTCGHSA enrichment
  68. 2026-09-05 15:31 UTCEPSS rescore
  69. 2026-09-05 03:32 UTCGHSA enrichment
  70. 2026-09-04 09:12 UTCEG score recompute
  71. 2026-09-04 09:12 UTCGHSA enrichment
  72. 2026-09-04 05:07 UTCEPSS rescore
  73. 2026-09-03 17:26 UTCGHSA enrichment
  74. 2026-09-03 06:15 UTCEG score recompute
  75. 2026-09-03 06:15 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-70640?
CVE-2026-70640 is a high vulnerability published on August 6, 2026. llama.cpp builds b1886 through b7445 contain a race condition use-after-free vulnerability in the LLaMA-Android JNI wrapper where bench1model() and free1context() lack synchronization, allowing Thread A to operate on freed memory while Thread B concurrently frees the llamacontext. Attackers can…
When was CVE-2026-70640 disclosed?
CVE-2026-70640 was first published on August 6, 2026, with the most recent update on September 21, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-70640 actively exploited?
CVE-2026-70640 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.2% probability of exploitation in the next 30 days (13th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-70640?
CVE-2026-70640 has a CVSS base score of 7.0 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-70640?
A fix for CVE-2026-70640 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2026-70640 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-70640

Explore →

Is Your Infrastructure Affected by CVE-2026-70640?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.