CVE-2026-43632
Last modified
CVE-2026-43632 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ggml | Llama.Cpp | >= b7492, <= b9060 |
References
- https://github.com/Vladimir-tokarev-cyera/llama-cpp-security-patchesPatch, Third Party Advisory
- https://www.vulncheck.com/advisories/llama-cpp-b7492-b9060-use-after-free-in-tokenization-endpointsPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-43632?
How severe is CVE-2026-43632?
How do I fix CVE-2026-43632?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43627llama.cpp builds b1283 through b9058 contain an integer over…7.8
- CVE-2026-43628llama.cpp builds b3978 through b9058 contain an integer unde…7.8
- CVE-2026-43629llama.cpp builds b4882 through b9058 contain a heap buffer o…8.1
- CVE-2026-4363GitLab has remediated an issue in GitLab EE affecting all ve…3.7
- CVE-2026-43630llama.cpp builds b5702 through b7653 contain an out-of-bound…6.5
- CVE-2026-43631llama.cpp builds b7492 through the latest b9060 contains a u…8.1
- CVE-2026-43633HestiaCP versions 1.9.0 through 1.9.4 contain a deserializat…10
- CVE-2026-43634HestiaCP versions 1.2.0 through 1.9.4 contain an IP spoofing…8.7
- CVE-2026-43635Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-43636Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-43637Cornac before 2.6.0 contains a path traversal (Tar Slip) vul…9.1
- CVE-2026-43638Bitwarden Server prior to v2026.4.1 contains a missing autho…5.4
Are you affected by CVE-2026-43632?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
