CVE-2026-107183

published 7 Oct 2026 · updated 7 Oct 2026

llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in b11393.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ggml-org>=b8227 <b11393b11393

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107183 severity on Zeptric[![CVE-2026-107183](https://zeptric.io/badge/cve/CVE-2026-107183.svg)](https://zeptric.io/cve/CVE-2026-107183)