CVE-2026-107183
No fix known EPSS <1%CVSS 8.1
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.
Products: ggml-org llama.cpp
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 14 | llama.cpp | no fix |
| Ubuntu 26.04 LTS | llama.cpp | no fix |
| Ubuntu 26.10 | llama.cpp | no fix |