CVE-2026-43632
published critical CVSS 4.0 · 9.2llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ggml-org | — | llama.cppb7492 through b9060 · Other versions: affected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ggml-org | llama.cpp | b7492 through b9060 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
2- CWE-416 Use After Free
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
2Provider assertions
2VulnCheck · cna
llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92bb467bdc19b44bec2e04c7b24be8c756b7ac78baee4f0faa8f3fbae6e478d7
- Ingested
- 23 Sep 2026, 09:14:58 UTC
- Source record
- Official CVE record