{
  "id": "CVE-2026-43632",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43632",
  "published_at": "2026-08-06T15:53:19.379Z",
  "title": "llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints",
  "vendor": "ggml-org",
  "product": "llama.cpp",
  "cvss": {
    "score": 9.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in llama-server affecting six tokenization endpoints (/tokenize, /detokenize, /infill, /apply-template, /rerank, and /anthropic/count_tokens) that bypass the task queue and access ctx_server.vocab directly on HTTP worker threads. Attackers can exploit a time-of-check-time-of-use race condition where the main thread destroys and frees vocab after the synchronization lock is released but before the handler finishes using it, causing a crash or potential code execution when --sleep-idle-seconds is configured.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [
    {
      "repo": "Vladimir-tokarev-cyera/llama-cpp-security-patches",
      "url": "https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches",
      "created_at": "2026-07-14T09:49:06Z",
      "first_seen_at": "2026-11-15T02:31:15.731Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-03T14:57:13Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ggml-org",
        "product": "llama.cpp",
        "ranges": [
          "\u003e= b7492, \u003c= b9060"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Mitigation",
        "url": "https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
