Vulnerability · Published Oct 7, 2026 · Assigned by VulnCheck

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

High 8.1

In plain English

A high-severity use-after-free in llama.cpp from ggml-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 63.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14llama.cppno fix listedDEBIAN-CVE-2026-107183
Ubuntu:26.04:LTSllama.cppno fix listedUBUNTU-CVE-2026-107183
Ubuntu:26.10llama.cppno fix listedUBUNTU-CVE-2026-107183

Affected products (as reported)

VendorProductVersions
ggml-org llama.cpp b8227 – before b11393

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References