{"id":"CVE-2026-43627","aliases":["CVE-2026-43627"],"related":[],"kind":"vulnerability","state":"published","title":"llama.cpp b1283–b9058 Integer Overflow in llama_batch_init() Function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones b1283 a b9058 de llama.cpp contienen una vulnerabilidad de desbordamiento de entero en la función llama_batch_init() donde multiplicaciones no verificadas en llamadas a malloc() pueden exceder INT32_MAX al calcular los tamaños de asignación. Los atacantes pueden pasar parámetros especialmente diseñados para desencadenar el desbordamiento de entero, causando corrupción del montón y potencialmente logrando ejecución de código arbitrario a través de operaciones de lote subsiguientes que escriben más allá de los límites del búfer asignado.","source":"nvd"}],"published":"2026-08-06T15:40:19.714Z","modified":"2026-10-29T21:17:23.360Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-190","CWE-680"],"affected":[{"ranges":[{"type":"custom","introduced":"b1283","lastAffected":"b9058","status":"affected"}],"vendor":"ggml-org","product":"llama.cpp","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"b1283","lastAffected":"b9058"}],"vendor":"ggml","product":"llama.cpp","cpe":"cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches","tags":["mitigation","patch","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/llama-cpp-b1283-b9058-integer-overflow-in-llama-batch-init-function","tags":["mitigation","patch","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Vladimir Tokarev (@G1ND1L4) - Vulnerability Research Tech Lead, Cyera","Ofek Itach (@ofekitach) - Security Research Team Lead, Cyera"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-08T02:07:55.450Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43627","url":"https://www.cve.org/CVERecord?id=CVE-2026-43627","licence":"CVE Terms of Use","modified":"2026-10-29T21:15:39.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43627","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43627","licence":"Public domain","modified":"2026-10-29T21:17:23.360Z"}],"updatedAt":"2026-11-25T22:59:31.351Z","epss":{"score":0.00217,"percentile":0.12905,"date":"2026-12-01T12:00:22.000Z"}}