CVE-2026-43628: llama.cpp b3978–b9058 Integer Underflow via DRY Sampler

Published Aug 6, 2026
·
Updated

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 dryallowedlength set to INT32MIN 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.

Affected Software

1 affected component
llama.cpp>=b3978<=b9058

Event History

Aug 6, 2026
CVE Published
via MITRE·03:45 PM
Data Sourced
via MITRE·03:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-43628?

CVE-2026-43628 has a severity rating of 7.8, classified as high.

2

How do I fix CVE-2026-43628?

To fix CVE-2026-43628, update llama.cpp to a version that addresses the integer underflow vulnerability.

3

What type of vulnerability is CVE-2026-43628?

CVE-2026-43628 is an integer underflow and out-of-bounds read vulnerability.

4

Who is affected by CVE-2026-43628?

CVE-2026-43628 affects builds of llama.cpp from b3978 to b9058.

5

What impact does CVE-2026-43628 have?

CVE-2026-43628 allows unauthenticated attackers to cause a heap buffer underflow, potentially leading to code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203