boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Saturday, October 3, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-70640

ggml-org llama.cpp — llama.cpp b1886–b7445 Race Condition Use-After-Free via llama-android.cpp
  AV  AC  AT  PR  UI  VC  VI  VA   CVSS    EPSS   %ile   KEV
   L   H   N   N   P   H   H   H    7.3   .0024   13.7     —
AFFECTED
  Product    Versions  Fixed
  llama.cpp  b1886 –   5c0d18881e0e9794c96b2602736b758bac9d9388
TIMELINE
  Aug 4   Reserved by VulnCheck
  Aug 6   Published (CNA: VulnCheck)
  Sep 21  EXPLOIT PUBLISHED — CVE-2026-70640 (ggml-org llama.cpp). Public exploit reference added.
CWE-362, CWE-476 · CNA: VulnCheck · CVSS v4.0 · 4 references · NVD status: Analyzed

Description

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
August 4, 2026ReservedReserved by VulnCheck
August 6, 2026PublishedPublished (CNA: VulnCheck)
September 21, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-70640 (ggml-org llama.cpp). Public exploit reference added.

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
ggml-orgllama.cpp—b18865c0d18881e0e9794c96b2602736b758bac9d9388

Weaknesses

CWE-362 · CWE-476

References (4)

Related

Authoritative record: CVE-2026-70640 at cve.org

Vendors: ggml-org

Weaknesses: CWE-362 · CWE-476

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-70640 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Saturday, October 3, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.