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.
References
| Link | Resource |
|---|---|
| https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches | Patch Third Party Advisory |
| https://www.vulncheck.com/advisories/llama-cpp-b3978-b9058-integer-underflow-via-dry-sampler | Patch Third Party Advisory |
Configurations
History
23 Oct 2026, 21:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
21 Sep 2026, 18:11
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches - Patch, Third Party Advisory | |
| References | () https://www.vulncheck.com/advisories/llama-cpp-b3978-b9058-integer-underflow-via-dry-sampler - Patch, Third Party Advisory | |
| CPE | cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* | |
| First Time |
Ggml
Ggml llama.cpp |
Information
Published : 2026-08-06 22:17
Updated : 2026-10-29 21:17
NVD link : CVE-2026-43628
Mitre link : CVE-2026-43628
CVE.ORG link : CVE-2026-43628
JSON object : View
Products Affected
ggml
- llama.cpp
