{"schema":"threatline.record/2","record":{"id":"CVE-2026-107183","aliases":[],"summary":"llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser","details":"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.","categories":["Unclassified"],"product":"llama.cpp","vendor":"ggml-org","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-107183","source_modified_at":"2026-10-07T14:37:12.658Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"llama.cpp","vendor":"ggml-org","versions":[{"version":"b8227","status":"affected","versionType":"custom","lessThan":"b11393"},{"version":"b11393","status":"unaffected","versionType":"custom"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":9.2,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00422,"percentile":0.35463,"score_date":"2026-10-23"},"published_at":"2026-10-07T13:35:41.675Z","modified_at":"2026-10-07T14:37:12.658Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107183","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-07T14:37:12.658Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107183","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/pull/29942","tags":["patch","issue-tracking"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/commit/dbe4c3ed42343f0a7ba0fd7e808ffeaca404d29f","tags":["patch"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/common/chat-peg-parser.cpp#L343-L355","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp/blob/bed0a856606ee4a24a164066f73d2379447033f5/tools/server/server-schema.cpp#L321-L324","tags":["technical-description"]},{"source":"CVE List","url":"https://github.com/ggml-org/llama.cpp","tags":["product"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/llama-cpp-before-b11393-use-after-free-via-common-chat-peg-mapper-chat-parser","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-07T14:36:59.882876Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-07T14:37:12.658Z","content_hash":"afd3573709e59045a39cd8e9c3e8c33450d17dd8bb0ba37bc09ba17fbe6595ab"}}
