Bug 2514725 - CVE-2026-43629 python-llama-cpp-python: llama.cpp: Arbitrary code execution via crafted KV cache state files [fedora-all]
Summary: CVE-2026-43629 python-llama-cpp-python: llama.cpp: Arbitrary code execution v...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-llama-cpp-python
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Tomas Tomecek
QA Contact:
URL:
Whiteboard: {"flaws": ["56fea2ec-fc57-4d76-b7d2-d...
Depends On:
Blocks: CVE-2026-43629
TreeView+ depends on / blocked
 
Reported: 2026-08-12 14:49 UTC by Joel Chamberlain
Modified: 2026-08-12 14:49 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 14:49:33 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 b4882 through b9058 contain a heap buffer overflow vulnerability in the KV cache state restore path where the state_read_data() function computes write size without overflow checking, allowing attackers with write access to the slot_save_path directory to corrupt heap memory. Attackers can craft malicious state files where cell_count multiplication overflows or exceeds tensor buffer allocation to write attacker-controlled bytes past buffer boundaries, potentially resulting in heap metadata corruption, model weight corruption, or arbitrary code execution via function pointer overwrite.


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