Skip to main content
EPSS 0.2%top 90%

CVE-2026-43628: Integer Underflow (Wrap or Wraparound) in ggml-org llama.cpp

0
High
Published: 08/06/2026 (08/06/2026, 15:45:52 UTC)
Source: CVE Database V5
Vendor/Project: ggml-org
Product: llama.cpp

Description

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 v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

ggml-org

llama.cpp

Affected versions
>=b3978 <=b9058>=0.11.0 <=0.17.1
GitHub Actionsmore threats →ai
ggml-org/llama.cpp
pkg:github/ggml-org/llama.cpp
Affected versions
=0.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 15:54:21 UTC

Technical Analysis

llama.cpp versions from build b3978 through b9058 contain an integer underflow vulnerability in the DRY sampler. When an attacker sends a specially crafted HTTP request to the /v1/completions or /v1/chat/completions endpoints with the dry_allowed_length parameter set to INT32_MIN, the integer underflow triggers a heap buffer underflow. This results in out-of-bounds memory reads that can cause the server process to crash with a segmentation fault or corrupt internal token sampling data by reading garbage values from memory before the allocated buffer.

Potential Impact

Successful exploitation results in denial of service by crashing the server process with SIGSEGV, affecting all connected users. Additionally, it can corrupt token sampling probabilities, potentially impacting the correctness of the model's output. No evidence of remote code execution or privilege escalation is indicated.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Users should monitor vendor communications for updates and consider restricting access to the affected endpoints or validating input parameters to prevent exploitation until a patch is released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-01T18:22:45.641Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a750702bf8831d5395f59bf

Added to database: 08/06/2026, 22:13:22 UTC

Last enriched: 08/14/2026, 15:54:21 UTC

Last updated: 09/21/2026, 22:01:34 UTC

Views: 38

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses