CVE-2026-107183

CRITICAL CVSS 4.0: 9.2 EPSS 0.42%
Updated Oct 07, 2026
Ggml
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions b8227 — b11393
Fixed In b11393
Type CWE-416 (Use After Free)
Vendor Ggml
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Ggml Llama.Cpp
cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*
b8227 b11393