Skip to content
HighVulnerabilityLLM-specific

CVE-2026-43631: llama.cpp use-after-free in llama-server vocab pointer during sleep mode

Identifier
CVE-2026-43631
Published
Record updated
View JSON
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.5%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 flaw in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled. Unauthenticated remote attackers can send requests to affected endpoints while the server transitions to sleep mode, so concurrent worker threads dereference a freed vocab pointer that attacker-controlled data can reclaim, achieving remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.