PT-2026-68727 · Llama.Cpp · Llama.Cpp

CVE-2026-43628

·

Published

2026-08-06

·

Updated

2026-08-07

CVSS v4.0

8.5

High

VectorAV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions llama.cpp versions b3978 through b9058
Description An integer underflow and out-of-bounds read issue exists in the DRY sampler. Unauthenticated attackers can trigger a heap buffer underflow by sending a crafted HTTP request to the '/v1/completions' or '/v1/chat/completions' endpoints with the dry allowed length variable set to INT32 MIN. This can lead to a server crash via SIGSEGV, resulting in a denial of service, or the corruption of token sampling probabilities due to the reading of garbage values from memory preceding the allocated buffer.
Recommendations Update llama.cpp to a version later than b9058. Avoid using the dry allowed length parameter in the '/v1/completions' and '/v1/chat/completions' endpoints until the software is updated.

Fix

DoS

Integer Underflow

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-43628

Affected Products

Llama.Cpp