Bug 2514852 - CVE-2026-43632 python-llama-cpp-python: llama.cpp: Potential code execution via a race condition in tokenization endpoints [fedora-all]
Summary: CVE-2026-43632 python-llama-cpp-python: llama.cpp: Potential 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": ["36225ca8-b123-4047-b2c5-9...
Depends On:
Blocks: CVE-2026-43632
TreeView+ depends on / blocked
 
Reported: 2026-08-12 18:36 UTC by Joel Chamberlain
Modified: 2026-08-12 18:36 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 18:36:15 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 b7492 through the latest b9060 contains a use-after-free vulnerability in llama-server affecting six tokenization endpoints (/tokenize, /detokenize, /infill, /apply-template, /rerank, and /anthropic/count_tokens) that bypass the task queue and access ctx_server.vocab directly on HTTP worker threads. Attackers can exploit a time-of-check-time-of-use race condition where the main thread destroys and frees vocab after the synchronization lock is released but before the handler finishes using it, causing a crash or potential code execution when --sleep-idle-seconds is configured.


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