CVE-2026-9540: vllm has Improper Resource Shutdown or Release
vLLM 0.19.0 and earlier can be slowed to a crawl through the OpenAI-compatible serving path. One request that asks for several completions with log probabilities makes every other request in the batch wait. No patched version exists: the fix pull request was closed without merging.
Published May 26, 2026 · Updated Jun 30, 2026 · Analysis Oct 26, 2026
What an attacker can do
The linked issue 37343 describes the trigger. A request with n=8 and logprobs=20 expands into 8 parallel decode sequences. Each decode step computes full-vocabulary log probabilities for all of them. Co-scheduled plain requests cannot finish early, because every decode step waits for the whole batch.
The reporter measured plain requests going from about 46 ms to 3,524 ms time-to-first-token at p99, roughly 76 times slower, with a worst sample near 19.7 seconds. The expensive request itself finished within its budget. A LoRA-enabled setup was about twice as bad. Chunked prefill did not help.
The attacker needs only network access to the OpenAI-compatible endpoint, with no credentials or user interaction if the server has no API key. The result is degraded service for every user of the server, not data loss. The CVSS vector rates availability impact as low and nothing else. Public servers with no API key or request limits on n and logprobs are the exposed case. The advisory lists the CWE as improper resource release, but the issue thread describes compute and scheduling contention, not a leak.
Who is affected
The vllm package on PyPI, version 0.19.0 and earlier per the advisory data. The issue reporter saw it on 0.11.2 and a commenter on 0.18.0, and the reporter says it occurs on current main. It applies to servers that expose the OpenAI-compatible API to clients you do not fully trust. Check:
pip show vllmCheck whether your server sets --api-key, and whether anything in front of it limits n and logprobs.
vllm
- Ecosystem
- PyPI
- Affected
- <= 0.19.0
- Fixed in
- No patched version yet
- Check
pip show vllm
How to fix it
There is no patched version. The advisory data lists none. Pull request 37594 would add a max_num_batched_logprobs setting to SchedulerConfig. The scheduler would track the cost of n times logprobs per batch and defer requests that exceed the budget, and the option is off by default. It was never merged. A bot closed it for inactivity on September 23, 2026. The issue was closed as not planned on July 27, 2026.
The sources give no official workaround. Sensible mitigations are to require an API key, put a gateway in front that rejects or caps n and logprobs, and apply per-client rate limits.
How to tell if you were hit
Look in the server logs and your gateway logs for requests with a large n combined with a large logprobs, such as n=8 with logprobs=20. Look in your metrics for a sudden rise in time-to-first-token for ordinary requests while those requests run. Find the client address or key that sent them and block it.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was identified in vllm-project vllm 0.19.0. This issue affects some unknown processing of the component OpenAI-compatible Serving Path. Such manipulation leads to denial of service. It is possible to launch the attack remotely. The exploit is publicly available and might be used. The pull request to fix this issue awaits acceptance.
Questions
- Is there a patched vLLM version for CVE-2026-9540?
No. The advisory data lists none, and pull request 37594, the proposed fix, was closed without merging.
- What does the attack look like?
A single request with
n=8andlogprobs=20to the OpenAI-compatible endpoint. The reporter saw other requests' p99 time-to-first-token rise about 76 times.- Does it leak data or run code?
No. The CVSS vector rates only a low availability impact. The effect is denial of service through scheduling contention.
- Is it exploited in the wild?
The advisory says an exploit is publicly available and might be used. There is no CISA KEV flag.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More vLLM vulnerabilities
All vLLM entriesCVE-2026-115911
vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
medium6.5Oct 28, 2026CVE-2026-115912
vLLM: Public multimodal SHM handle forgery reaches worker-side `pickle.loads()` with insecure serialization disabled
high7.5Oct 28, 2026CVE-2026-115913
vLLM: Phi-4 multimodal audio encoder materializes and retains full attention matrices: a single max-length audio OOM-crashes the vLLM engine
medium6.5Oct 28, 2026CVE-2026-115914
vLLM DeepSeek-OCR image processing vulnerable to denial of service
medium6.5Oct 28, 2026CVE-2026-115915
vLLM: Untrusted EPS inputs can trigger denial of service or Ghostscript RCE
high8.1Oct 28, 2026CVE-2026-115916
vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
medium6.5Oct 28, 2026
