CVE-2026-43631CWE-362CWE-416

CVE-2026-43631

High · published August 7, 2026

CVSS v3.1
8.1
EPSS
1%
Percentile
46.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00573 · 46.6th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); CWE-416 · Use After Free
Published
2026-08-07T02:17Z
Affected products (1)
ProductVersionsFixed in
ggml/llama.cpp≥ b7492, ≤ b9060—
References (2)
EPSS history
Timeline
  • 06 AUG 15:52Z
    llama.cpp b7492–b9060 Use-After-Free RCE via llama-server
    cvelistv5