← Back to CVE List
Vulnerability Intelligence Report
llama.cpp b7492–b9060 Use-After-Free in Tokenization Endpoints

CVE-2026-43632

x_open-source

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.

No Active Exploit Signals
CVSS Base Score
9.2
CRITICAL
EPSS Probability:0.33%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-416 ↗Use After Free
CWE-367 ↗Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products & Versions

Vendor Product Affected Versions
ggml-org llama.cpp b7492 <= b9060 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

EPSS Score
0.330%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityVulnCheck · Bug Bounty Provider · USA
Reserved2026-05-01T18:22:45
Published2026-08-06T15:53:19
Patch Date2026-05-06
Last Updated2026-08-14T16:49:56

LINK COPIED TO CLIPBOARD