CVE-2026-34756
vLLM Affected by Unauthenticated OOM Denial of Service via Unbounded `n` Parameter in OpenAI API Server
- State
- Published
- Severity
- 6.5 Medium
- Published
- Apr 6, 2026
- Updated
- Aug 25, 2026
- Reserved
- Mar 30, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
vllmvllm-project |
|
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-3mwp-wvh9-7528
- https://github.com/vllm-project/vllm/pull/37952
- https://github.com/vllm-project/vllm/commit/b111f8a61f100fdca08706f41f29ef3548de7380
- https://access.redhat.com/security/cve/CVE-2026-34756vdb-entry
- RHBZ#2455425issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34756.json
- https://access.redhat.com/errata/RHSA-2026:36005vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36006vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57380vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57389vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57390vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57387vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59151vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59144vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.