CVE-2026-107183: Ggml-Org Llama.cpp

High severity, CVSS 8.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • Ggml-Org Llama.cpp: from b8227, before b11393 (fixed in b11393)

Published 2026-10-07. Last modified 2026-10-07.