CVE-2026-107183CWE-416

CVE-2026-107183

High · published October 7, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
35.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
9.2 · 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
EPSS
0.00422 · 35.5th percentile
Weakness
CWE-416 · Use After Free
Published
2026-10-07T18:17Z
References (6)
EPSS history
Timeline
  • 09 OCT 03:26Z
    EPSS moved — → 0%
    epss
  • 07 OCT 13:35Z
    llama.cpp before b11393 Use-After-Free via common_chat_peg_mapper chat_parser
    cvelistv5