CVE catalog

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 computi

[CVE catalog]

Severity
High · CVSS 8.5CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.20% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Cpellama.cppNot reportedNot reportedunknown
Debianllama.cpp1410108+dfsg-1vulnerable
Debianllama.cpp1410108+dfsg1-1vulnerable
Debianllama.cpp1410108+dfsg1-2vulnerable
Debianllama.cpp1410192+dfsg-1vulnerable
Debianllama.cpp1410192+dfsg-2vulnerable
Debianllama.cpp1410192+dfsg-2~exp1vulnerable
Debianllama.cpp1410271+dfsg-1vulnerable
Debianllama.cpp1410344+dfsg-1vulnerable
Debianllama.cpp1410438+dfsg-1vulnerable
Debianllama.cpp141:0.1.2+dfsg-1~exp1vulnerable
Debianllama.cpp141:0.2.0+dfsg1-1vulnerable
Debianllama.cpp141:0.2.0+dfsg1-1~exp1vulnerable
Debianllama.cpp141:0.4.0+dfsg-1vulnerable
Debianllama.cpp141:0.4.1+dfsg-1vulnerable
Debianllama.cpp141:0.5.0+dfsg-1vulnerable
Debianllama.cpp141:0.5.0+dfsg-2vulnerable
Debianllama.cpp141:0.6.0+dfsg-1vulnerable
Debianllama.cpp141:0.6.0+dfsg-2vulnerable
Debianllama.cpp141:0.7.0+dfsg-1vulnerable
Debianllama.cpp141:0.7.0+dfsg-2vulnerable
Debianllama.cpp145151+dfsg-1~exp2vulnerable
Debianllama.cpp145151+dfsg-1~exp3vulnerable
Debianllama.cpp145318+dfsg-1vulnerable
Debianllama.cpp145318+dfsg-2vulnerable
Debianllama.cpp145713+dfsg-1vulnerable
Debianllama.cpp145760+dfsg-1vulnerable
Debianllama.cpp145760+dfsg-2vulnerable
Debianllama.cpp145760+dfsg-3vulnerable
Debianllama.cpp145760+dfsg-4vulnerable
Debianllama.cpp145882+dfsg-1vulnerable
Debianllama.cpp145882+dfsg-2vulnerable
Debianllama.cpp145882+dfsg-3vulnerable
Debianllama.cpp145882+dfsg-3~exp1vulnerable
Debianllama.cpp145882+dfsg-3~exp2vulnerable
Debianllama.cpp145882+dfsg-3~exp3vulnerable
Debianllama.cpp145882+dfsg-4vulnerable
Debianllama.cpp146641+dfsg-1vulnerable
Debianllama.cpp146641+dfsg-2vulnerable
Debianllama.cpp146641+dfsg-3vulnerable
Debianllama.cpp147593+dfsg-1vulnerable
Debianllama.cpp147593+dfsg-2vulnerable
Debianllama.cpp147593+dfsg-3vulnerable
Debianllama.cpp147965+dfsg-1vulnerable
Debianllama.cpp148064+dfsg-1vulnerable
Debianllama.cpp148064+dfsg-2vulnerable
Debianllama.cpp148461+dfsg-1vulnerable
Debianllama.cpp148611+dfsg-1vulnerable
Debianllama.cpp148681+dfsg-1vulnerable
Debianllama.cpp148870+dfsg-1vulnerable
Debianllama.cpp148941+dfsg-1vulnerable
Debianllama.cpp149009+dfsg-1vulnerable
Debianllama.cpp149071+dfsg-1vulnerable
Debianllama.cpp149190+dfsg-1vulnerable
Debianllama.cpp149413+dfsg-1vulnerable
Debianllama.cpp149555+dfsg-1vulnerable
Debianllama.cpp149601+dfsg-1vulnerable
Debianllama.cpp149721+dfsg-1vulnerable
Debianllama.cpp149895+dfsg-1vulnerable
Debianllama.cpp149895+dfsg-2vulnerable
Debianllama.cpp149895+dfsg-3vulnerable
Debianllama.cpp149951+dfsg-1vulnerable
Debianllama.cpp149951+dfsg-2vulnerable
Debianllama.cpp149951+dfsg-3vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References