Vulnerability · Published Apr 6, 2026 · Assigned by GitHub_M
CVE-2026-34756vLLM Affected by Unauthenticated OOM Denial of Service via Unbounded `n` Parameter in OpenAI API Server
Medium 6.5
In plain English
A medium-severity resource allocation without limits in vllm from vllm-project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | vllm | 0.19.0 | GHSA-3mwp-wvh9-7528 |
| PyPI | vllm | 0.19.0 | PYSEC-2026-2298 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| vllm-project | vllm | >= 0.1.0, < 0.19.0 |
Weakness: CWE-770, CWE-1284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-3mwp-wvh9-7528 x_refsource_CONFIRM
- https://github.com/vllm-project/vllm/pull/37952 x_refsource_MISC
- https://github.com/vllm-project/vllm/commit/b111f8a61f100fdca08706f41f29ef3548de7380 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-34756 vdb-entry, x_refsource_REDHAT
- RHBZ#2455425 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34756.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:36005 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36006 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57380 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57389 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57390 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57387 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59144 vendor-advisory, x_refsource_REDHAT