CVE-2026-43628
highpriority · track · 0EPSS 0.002 · 14 %ileEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.9–8.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchescnnvd
- https://github.com/ggml-org/llama.cpp/releasesPatchcnnvd
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchesenisa_euvd
- https://www.vulncheck.com/advisories/llama-cpp-b3978-b9058-integer-underflow-via-dry-samplerenisa_euvd
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchesPatchThird Party Advisorynvd
- https://www.vulncheck.com/advisories/llama-cpp-b3978-b9058-integer-underflow-via-dry-samplerPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan