CVE-2026-107183
9.2critical
llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser
- Severity
- 9.2critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.42% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ggml-org llama.cpp | from b8227 before b11393 Not affected: b11393 | CVE List |
All scores
| VulnCheck | 9.2critical CVSS:4.0 | 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 |
| VulnCheck | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-107183 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-107183 changed 2026-10-07 | Public domain |