{
  "cveId": "CVE-2026-70640",
  "url": "https://patchblox.com/security/cve/CVE-2026-70640",
  "summary": "CVE-2026-70640 is fixed in llama.cpp on 1 platform by DEBIAN-CVE-2026-70640 (version 7593\u002Bdfsg-1), released August 7, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "llama.cpp: llama.cpp builds b1886 through b7445 contain a race condition use-after-free vulnerability in the LLaMA-Android JNI w...",
  "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 \u002B0x30, causing llama_batch_allocr::clear() to dereference arbitrary memory and achieve remote code execution.",
  "published": "2026-08-06T22:18:28Z",
  "severity": "",
  "epss": 0.0024,
  "epssPercentile": 0.15174,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "llama.cpp",
      "release": "Debian 14",
      "fixedVersion": "7593\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2026-70640",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-70640",
      "released": "2026-08-07T15:22:10Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}