CVE-2026-43627
published high CVSS 4.0 · 8.5llama.cpp b1283–b9058 Integer Overflow in llama_batch_init() Function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppb1283 through b9058 · Other versions: affected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | b1283 through b9058 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
2- CWE-190 Integer Overflow or Wraparound
- CWE-680 Integer Overflow to Buffer Overflow
References
2Provider assertions
2VulnCheck · cna
llama.cpp b1283–b9058 Integer Overflow in llama_batch_init() Function
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 24e861822213a9cb5d111d8b0b64c490a6b6b875149b87c8fd778297625f7307
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record