CVE-2026-43628CWE-125CWE-191

CVE-2026-43628

High · published August 7, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

llama.cpp builds b3978 through b9058 contain an integer underflow and out-of-bounds read vulnerability in the DRY sampler that allows unauthenticated attackers to trigger a heap buffer underflow by sending a crafted HTTP request with dry_allowed_length set to INT32_MIN to the /v1/completions or /v1/chat/completions endpoints. Attackers can exploit this vulnerability to crash the server with SIGSEGV causing denial of service for all connected users, or corrupt token sampling probabilities by reading garbage values from memory before the allocated buffer.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Weaknesses
CWE-125 · Out-of-bounds Read; CWE-191 · Integer Underflow (Wrap or Wraparound)
Published
2026-08-07T02:17Z
Affected products (1)
ProductVersionsFixed in
ggml/llama.cpp≥ b3978, ≤ b9058—
References (2)
EPSS history
Timeline
  • 06 AUG 15:45Z
    llama.cpp b3978–b9058 Integer Underflow via DRY Sampler
    cvelistv5