Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches
- https://www.vulncheck.com/advisories/llama-cpp-b1283-b9058-integer-overflow-in-l
FAQ
What is CVE-2026-43627?
CVE-2026-43627 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 computi...
How severe is CVE-2026-43627?
CVE-2026-43627 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-43627?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.