Bug 2512244 (CVE-2026-43632) - CVE-2026-43632 llama.cpp: llama.cpp: Potential code execution via a race condition in tokenization endpoints
Summary: CVE-2026-43632 llama.cpp: llama.cpp: Potential code execution via a race cond...
Keywords:
Status: NEW
Alias: CVE-2026-43632
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: 2514852 2514853 2514854
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 22:24 UTC by OSIDB Bzimport
Modified: 2026-08-12 18:36 UTC (History)
0 users

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


Attachments (Terms of Use)

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