Vulnerability Explorer›CVE-2026-107183
VULNERABILITY
CVE-2026-107183
Common Vulnerabilities and Exposures record
CRITICAL
Summary
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.
Risk
- CVSS
- 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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Oct 7, 2026 14:17
- Modified
- Oct 7, 2026 15:57
- Last observed
- Oct 7, 2026 21:07