HighVulnerabilityLLM-specific
CVE-2026-43632: llama.cpp llama-server use-after-free in tokenization endpoints
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-43632
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
llama.cpp builds b7492 through the latest b9060 contain a use-after-free in llama-server, affecting six tokenization endpoints: /tokenize, /detokenize, /infill, /apply-template, /rerank and /anthropic/count_tokens. These handlers bypass the task queue and read ctx_server.vocab directly on HTTP worker threads, and a time-of-check-time-of-use race lets the main thread free vocab before the handler finishes, causing a crash or potential code execution when --sleep-idle-seconds is configured.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online