Bug 2514602 - CVE-2026-43627 llama-cpp: llama.cpp: Arbitrary Code Execution via Integer Overflow in Memory Allocation [fedora-all]
Summary: CVE-2026-43627 llama-cpp: llama.cpp: Arbitrary Code Execution via Integer Ove...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: llama-cpp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Tom.Rix
QA Contact:
URL:
Whiteboard: {"flaws": ["da6b2f07-26af-467a-8b63-c...
Depends On:
Blocks: CVE-2026-43627
TreeView+ depends on / blocked
 
Reported: 2026-08-12 13:27 UTC by Joel Chamberlain
Modified: 2026-08-12 13:27 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Joel Chamberlain 2026-08-12 13:27:48 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.