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 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.
Configurations

No configuration.

History

No history.

Information

Published : 2026-08-06 22:17

Updated : 2026-08-31 20:31


NVD link : CVE-2026-43627

Mitre link : CVE-2026-43627

CVE.ORG link : CVE-2026-43627


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound

CWE-680

Integer Overflow to Buffer Overflow