{"id":"CVE-2026-107183","published":"2026-10-07T13:35:41Z","modified":"2026-10-07T14:37:12Z","title":"llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser","vendor":"ggml-org","product":"llama.cpp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00732,"percentile":0.50256,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/ggml-org/llama.cpp/pull/29942","tags":["patch","issue-tracking"]},{"url":"https://github.com/ggml-org/llama.cpp/commit/dbe4c3ed42343f0a7ba0fd7e808ffeaca404d29f","tags":["patch"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/common/chat-peg-parser.cpp#L343-L355","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/tools/server/server-schema.cpp#L321-L324","tags":["technical-description"]},{"url":"https://github.com/ggml-org/llama.cpp","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-before-b11393-use-after-free-via-common-chat-peg-mapper-chat-parser","tags":["third-party-advisory"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.05},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"ggml-org","affectedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":[">= b8227, < b11393"]}],"fixedVersions":[{"vendor":"ggml-org","product":"llama.cpp","versions":["b11393"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-07T14:36:59.882876Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-94330","exploited":false,"provenance":"source"}}