All vulnerabilities

Servers and applications

GHSA-497v-rww5-557q

Thinking-Budget State Re-entry Triggers Quadratic History Scanning and Cross-Request Latency Amplification

Severity
Medium 5.3
Published
29 Nov 2026
Last changed
29 Nov 2026
Added to UpHeron
29 Nov 2026
Fixed in
0.34.0
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Sources
Project advisories (GitHub)

Description

In vLLM v0.26.0, the change merged in PR #45984 / commit ed908cf0a to fix thinking_token_budget enforcement after natural re-entry deleted the incremental start/end-marker search cursors previously added by PR #46425 / commit 7f99e80c3`. The replacement code creates a new slice of the growing output-token history and searches that entire slice on every decode step, turning marker tracking from incremental processing into quadratic work in the generated length.

Requests that use a thinking-token budget can cause MRV1 to repeatedly rescan generated token history. Because the sampler is shared, this work can delay unrelated requests.

Background and regression boundary

The thinking-budget state machine must locate reasoning start and end markers while output tokens are appended one decode step at a time.

PR #46425 / commit 7f99e80c3 optimized this path by adding:

From vllm-project/vllm's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
vLLMServers and applications · github:vllm-project/vllm
  • From 0.26.0 before 0.34.0

About vLLM

open-source software for large language model inference

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
745,548PyPI Stats, 29 Nov 2026
Docker Hub pulls
46,389,960Docker Hub, 29 Nov 2026
GitHub stars
97,795GitHub, 29 Nov 2026
Forks
25,437GitHub, 29 Nov 2026
Latest release
v0.34.0GitHub, 29 Nov 2026
Released
16 Nov 2026GitHub
License
Apache License 2.0Wikidata
First published on GitHub
9 Feb 2023GitHub

References