Skip to content
HighVulnerabilityLLM-specific

CVE-2026-107183: llama.cpp use-after-free and double free via POST /completion chat_parser

Identifier
CVE-2026-107183
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

llama.cpp before b11393 contains a use-after-free and double free vulnerability in common_chat_peg_mapper::map. Unauthenticated remote attackers can corrupt heap memory through a dangling current_tool pointer. By submitting a chat_parser in a POST /completion request that emits a tool-id after a tool-close tag, an attacker can crash llama-server and shape a heap write primitive.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.