Use After Free in Ggml-Org Llama.cpp

CVE-2026-107183

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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-107183?
CVE-2026-107183 is a high-severity vulnerability in Ggml-Org Llama.cpp, classified under Use After Free. CVSS score: 8.1/10. Published 2026-10-07.
How severe is CVE-2026-107183?
High severity. CVSS v3 base score is 8.1 out of 10.