{"id":"CVE-2026-107183","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-107183","generatedAt":"2026-10-28T01:01:13.644Z","title":"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.","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.","published":"2026-10-07T14:17:09.000Z","lastModified":"2026-10-07T15:57:21.000Z","status":"Awaiting Analysis","sourceIdentifier":"disclosure@vulncheck.com","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-416"],"affected":[],"epss":{"score":0.00417,"percentile":0.35688,"date":"2026-10-26","history":[{"date":"2026-10-08","score":0.00422,"percentile":0.34503}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-07T14:17:09.000Z","detail":{"score":"9.2","severity":"CRITICAL","publishedAt":"2026-10-07T14:17:09.003Z"},"summary":"New CVE, critical severity (CVSS 9.2)."}],"references":[{"url":"https://github.com/ggml-org/llama.cpp","source":"disclosure@vulncheck.com"},{"url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/common/chat-peg-parser.cpp#L343-L355","source":"disclosure@vulncheck.com"},{"url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/tools/server/server-schema.cpp#L321-L324","source":"disclosure@vulncheck.com"},{"url":"https://github.com/ggml-org/llama.cpp/commit/dbe4c3ed42343f0a7ba0fd7e808ffeaca404d29f","source":"disclosure@vulncheck.com"},{"url":"https://github.com/ggml-org/llama.cpp/pull/29942","source":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b11393-use-after-free-via-common-chat-peg-mapper-chat-parser","source":"disclosure@vulncheck.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107183","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}