Integer overflow in Ggml-org Llama.cpp
CVE-2026-43627
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…
Vulnerability class: Integer Overflow
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Ggml-org Llama.cpp — versions b1283, 0.4.0
Weakness classification (CWE)
References
- disclosure@vulncheck.com (mitigation)
- disclosure@vulncheck.com (third-party-advisory)
Frequently asked questions
- What is CVE-2026-43627?
- CVE-2026-43627 is a high-severity vulnerability in Ggml-org Llama.cpp, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2026-08-06.
- How severe is CVE-2026-43627?
- High severity. CVSS v3 base score is 7.8 out of 10.