CVE-2026-34756 Details
Description
vLLM is an inference and serving engine for large language models (LLMs). From 0.1.0 to before 0.19.0, a Denial of Service vulnerability exists in the vLLM OpenAI-compatible API server. Due to the lack of an upper bound validation on the n parameter in the ChatCompletionRequest and CompletionRequest Pydantic models, an unauthenticated attacker can send a single HTTP request with an astronomically large n value. This completely blocks the Python asyncio event loop and causes immediate Out-Of-Memory crashes by allocating millions of request object copies in the heap before the request even reaches the scheduling queue. This vulnerability is fixed in 0.19.0.
A denial-of-service vulnerability has been identified in the vLLM OpenAI-compatible API server, affecting versions 0.1.0 prior to 0.19.0. The issue arises from the absence of upper bound validation on the 'n' parameter in the ChatCompletionRequest and CompletionRequest Pydantic models. This flaw allows an unauthenticated attacker to send a single HTTP request with an excessively large 'n' value, which disrupts the Python asyncio event loop and triggers immediate out-of-memory crashes. The vulnerability is caused by the engine allocating millions of copies of request objects in the heap, before the request even reaches the scheduling queue, effectively blocking the server from processing other requests.
Users can update to vLLM version 0.19.0 or later, where this vulnerability has been fixed. For those using vLLM in a public-facing deployment, it is recommended to set the 'VLLM_MAX_N_SEQUENCES' environment variable to a value appropriate for the workload, such as 64 or 128, to limit the impact of a single request. Additionally, consider implementing request body validation and rate limiting at the reverse proxy layer to further mitigate the risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1284 | Improper Validation of Specified Quantity in Input | redhat-SADP |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vllm vllm | >= 0.1.0, < 0.19.0 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 25, 2026 | CVE Modified | redhat-SADP |
| Aug 21, 2026 | CVE Modified | redhat-SADP |
| Aug 20, 2026 | CVE Modified | redhat-SADP |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 7, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 20, 2026 | Initial Analysis | [email protected] |
| Apr 6, 2026 | New CVE Received | [email protected] |