NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · vLLM

CVE-2026-9540: vllm has Improper Resource Shutdown or Release

mediumCVSS 4.0 5.5 · 3.1 5.3GHSA-98f3-hwg4-4rf7

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 vllm

Check 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=8 and logprobs=20 to 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 entries