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.
References
| Link | Resource |
|---|---|
| https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches | Patch Third Party Advisory |
| https://www.vulncheck.com/advisories/llama-cpp-b7492-b9060-use-after-free-in-tokenization-endpoints | Patch Third Party Advisory |
Configurations
History
23 Oct 2026, 21:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
21 Sep 2026, 18:11
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patches - Patch, Third Party Advisory | |
| References | () https://www.vulncheck.com/advisories/llama-cpp-b7492-b9060-use-after-free-in-tokenization-endpoints - Patch, Third Party Advisory | |
| First Time |
Ggml
Ggml llama.cpp |
|
| CPE | cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* |
Information
Published : 2026-08-06 22:17
Updated : 2026-10-23 21:10
NVD link : CVE-2026-43632
Mitre link : CVE-2026-43632
CVE.ORG link : CVE-2026-43632
JSON object : View
Products Affected
ggml
- llama.cpp
