What’s Vulnerable › Vulnerabilities
CVE-2026-43627: llama.cpp b1283–b9058 Integer Overflow in llama_batch_init() Function
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-10-29
- Weakness: CWE-190
Description
llama.cpp builds b1283 through b9058 contain an integer overflow vulnerability in the llama_batch_init() function where unchecked multiplications in malloc() calls can wrap past INT32_MAX when computing allocation sizes. Attackers can pass specially crafted parameters to trigger integer overflow, causing heap corruption and potentially achieving arbitrary code execution through subsequent batch operations that write past allocated buffer boundaries.
Affected products
- ggml-org llama.cpp: from b1283 through b9058
- ggml-org llama.cpp: from b1283 through b9058
References
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches
- https://www.vulncheck.com/advisories/llama-cpp-b1283-b9058-integer-overflow-in-llama-batch-init-function
Get alerted when CVE-2026-43627 or the next vulnerability affects your stack