CyberRota Analysis
AI-GeneratedThe integer overflow vulnerability in the llama_batch_init() function of llama.cpp versions b1283 to b9058 allows attackers to exploit unchecked multiplications in malloc() calls, leading to heap corruption. This can result in arbitrary code execution through maliciously crafted parameters that manipulate allocation sizes. Organizations using these versions should prioritize patching to mitigate the risk of exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.