CVE-2026-107183: Vulnerability in Ggml-org Llama.cpp

Critical. 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.

CWE-416

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
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
Weakness
CWE-416
Published
7 Oct 2026
Last change
7 Oct 2026

Affected products

Affected versions and the first fixed release

  • Ggml-org Llama.cpp From b8227 before b11393. Fixed in b11393

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related