llama.cpp builds b7492 through the latest b9060 contains a use-after-free vulnerability in the vocab pointer of llama-server when the --sleep-idle-seconds feature is enabled, allowing unauthenticated remote attackers to execute arbitrary code. Attackers can trigger the vulnerability by sending requests to affected endpoints while the server transitions to sleep mode, causing concurrent worker threads to dereference a freed vocab pointer that can be reclaimed with attacker-controlled data to achieve remote code execution.
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-rce-via-llama-server | 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 |
|---|---|---|
| CPE | cpe:2.3:a:ggml:llama.cpp:*:*:*:*:*:*:*:* | |
| First Time |
Ggml llama.cpp
Ggml |
|
| 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-rce-via-llama-server - Patch, Third Party Advisory |
07 Aug 2026, 19:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
06 Aug 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-06 22:17
Updated : 2026-10-23 21:10
NVD link : CVE-2026-43631
Mitre link : CVE-2026-43631
CVE.ORG link : CVE-2026-43631
JSON object : View
Products Affected
ggml
- llama.cpp
