CVE-2026-43627
Last modified
CVE-2026-43627 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ggml-org | llama.cpp | >= b1283, <= b9058; >= 0.4.0, <= 0.17.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-43627?
How severe is CVE-2026-43627?
How do I fix CVE-2026-43627?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4362The ElementsKit Elementor Addons plugin for WordPress is vul…6.5
- CVE-2026-43620Rsync version 3.4.2 and prior contain a receiver-side out-of…5.5
- CVE-2026-43622llama.cpp builds b1886 through b7445 contain a double free v…8.5
- CVE-2026-43623microtar through 0.1.0 contains a stack-based buffer overflo…8.8
- CVE-2026-43624F5-TTS through version 1.1.20 contains a path traversal vuln…8.8
- CVE-2026-43625CodexBar prior to 0.32.0 contains a session cookie leakage v…8.2
- CVE-2026-43628llama.cpp builds b3978 through b9058 contain an integer unde…8.5
- CVE-2026-43629llama.cpp builds b4882 through b9058 contain a heap buffer o…9.2
- CVE-2026-4363GitLab has remediated an issue in GitLab EE affecting all ve…3.7
- CVE-2026-43630llama.cpp builds b5702 through b7653 contain an out-of-bound…6.5
- CVE-2026-43631llama.cpp builds b7492 through the latest b9060 contains a u…9.2
- CVE-2026-43632llama.cpp builds b7492 through the latest b9060 contains a u…9.2
Are you affected by CVE-2026-43627?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
