{
  "id": "CVE-2026-107183",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-107183",
  "published_at": "2026-10-07T13:35:41.675Z",
  "title": "llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser",
  "vendor": "ggml-org",
  "product": "llama.cpp",
  "cvss": {
    "score": 9.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:N/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 before b11393 contains a use-after-free and double free vulnerability in common_chat_peg_mapper::map that allows unauthenticated remote attackers to corrupt heap memory via a dangling current_tool pointer. Attackers can submit a chat_parser in a POST /completion request emitting a tool-id after a tool-close tag to crash llama-server and shape a heap write primitive.",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ggml-org",
        "product": "llama.cpp",
        "ranges": [
          "\u003e= b8227, \u003c b11393"
        ],
        "fixed_in": [
          "b11393"
        ]
      }
    ],
    "upgrade": [
      "Upgrade llama.cpp to b11393 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/ggml-org/llama.cpp/pull/29942"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ggml-org/llama.cpp/commit/dbe4c3ed42343f0a7ba0fd7e808ffeaca404d29f"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
