Bug 2512353 (CVE-2026-43627) - CVE-2026-43627 llama.cpp: llama.cpp: Arbitrary Code Execution via Integer Overflow in Memory Allocation
Summary: CVE-2026-43627 llama.cpp: llama.cpp: Arbitrary Code Execution via Integer Ove...
Keywords:
Status: NEW
Alias: CVE-2026-43627
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2514597 2514599 2514601 2514602 2514603
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 22:31 UTC by OSIDB Bzimport
Modified: 2026-08-12 13:27 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-06 22:31:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.