Skip to content
HighVulnerabilityLLM-specific

CVE-2026-43628: llama.cpp DRY sampler heap buffer underflow via /v1/completions

Identifier
CVE-2026-43628
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

llama.cpp builds b3978 through b9058 contain an integer underflow and out-of-bounds read in the DRY sampler. An unauthenticated attacker can send a crafted HTTP request to /v1/completions or /v1/chat/completions with dry_allowed_length set to INT32_MIN, triggering a heap buffer underflow. The result is a SIGSEGV crash that denies service to all connected users, or corrupted token sampling probabilities from garbage memory reads.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.