Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS score of 6.5 reflects a high-impact Denial of Service (Availability) with a network-accessible attack vector (AV:N) and low complexity (AC:L), but the vector includes PR:L (low privilege required), suggesting authenticated access is needed. However, the description explicitly states the vulnerability is exploitable by unauthenticated attackers, representing a critical inconsistency in the threat model - if truly unauthenticated, the actual CVSS should be higher (likely 7.5 with PR:N). The absence of EPSS data limits probabilistic exploitation assessment, but public accessibility of the vLLM API server and the single-request attack pattern indicate high practical exploitability. KEV status is not confirmed in provided data, and no POC code is referenced, though the GitHub PR and commit references suggest the vulnerability is already known to the security research community and likely has proof-of-concept demonstrations. SSVC lens: exploitation is likely straightforward (no special tooling required), automatable (a single crafted HTTP POST), and causes complete technical impact (service unavailability). The authentication requirement discrepancy is a material risk signal - if the vulnerability truly requires low privileges or is fully unauthenticated despite the CVSS vector, this represents higher real-world risk than the CVSS score alone suggests. For organizations running public-facing vLLM instances without additional API gateway rate limiting or request body size constraints, this is a critical priority regardless of the CVSS score. |
| Exploit ScenarioDerived | An unauthenticated attacker with network access to a public-facing vLLM OpenAI API endpoint crafts an HTTP POST request to /v1/chat/completions with a ChatCompletionRequest payload containing n=999999999 (or any extremely large integer). The vLLM server parses the request, bypasses the missing upper bound check in the protocol layer, and begins fanning out millions of request copies in the engine layer. Within seconds, the asyncio event loop is monopolized by the synchronous for-loop, the process memory explodes from gigabytes of cloned request objects, and the OS out-of-memory killer terminates the vLLM process, taking the entire inference service offline. A single attacker with minimal resources and no authentication can achieve complete denial of service against production infrastructure. No public exploit code is referenced in the provided data, but the straightforward nature of crafting a malicious HTTP request makes this trivially exploitable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
Denial of Service in vLLM OpenAI-compatible API server allows unauthenticated remote attackers to crash the service via a single HTTP request containing an extremely large n parameter. The lack of upper bound validation causes the asyncio event loop to freeze while allocating millions of request object copies, leading to rapid Out-Of-Memory crashes. CVSS 6.5 with moderate real-world risk due to authentication requirement in the disclosed CVSS vector (PR:L), though the description indicates unauthenticated exploitability - a significant discrepancy warranting clarification from the vendor.
RemediationAI
Upgrade vLLM to a patched version released after commit b111f8a61f100fdca08706f41f29ef3548de7380 (merged via PR #37952). Consult https://github.com/vllm-project/vllm/pull/37952 and https://github.com/vllm-project/vllm/security/advisories/GHSA-3mwp-wvh9-7528 for the exact fixed version number and installation instructions. As an interim mitigation, implement API gateway rate limiting and HTTP request body size restrictions to prevent rapid submission of large n parameters, and consider enforcing authentication on the vLLM API endpoint if the deployment supports it. If running vLLM in Kubernetes, configure resource quotas and pod memory limits to trigger graceful termination before system-wide OOM-killer events. Monitor asyncio event loop latency and heap memory allocation for anomalies indicative of attack attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
vLLM is a Python-based LLM inference framework providing an OpenAI-compatible API server (vllm.entrypoints.openai.api_server). The ChatCompletionRequest and CompletionRequest Pydantic models in vllm/entrypoints/openai/chat_completion/protocol.py define an n parameter (number of independent completions to generate) as a simple integer without upper bound constraints via pydantic.Field validation. When a request is processed through vllm/sampling_params.py, the _verify_args method checks only the lower bound (n >= 1) but omits upper bound validation. At the engine layer (vllm/v1/engine/async_llm.py), the request is fanned out via a synchronous for-loop that executes n times, creating n copies of the request object using Python's copy() function. Since Python asyncio runs single-threaded on one event loop, this monolithic loop blocks all other I/O operations while simultaneously exhausting heap memory by allocating millions of request object instances, violating CWE-770 (Allocation of Resources Without Limits or Throttling). The root cause is incomplete input validation across the protocol, sampling, and engine layers.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (https://github.com/vllm-project/vllm).
CVSS VectorVendor: https://github.com/vllm-project/vllm
Lifecycle Timeline
2DescriptionCVE.org
Summary
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.
Details
The root cause of this vulnerability lies in the missing upper bound checks across the request parsing and asynchronous scheduling layers:
- Protocol Layer:
In vllm/entrypoints/openai/chat_completion/protocol.py, the n parameter is defined simply as an integer without any pydantic.Field constraints for an upper bound.
class ChatCompletionRequest(OpenAIBaseModel):
# Ordered by official OpenAI API documentation
# https://platform.openai.com/docs/api/reference/chat/create
messages: list[ChatCompletionMessageParam]
model: str | None = None
frequency_penalty: float | None = 0.0
logit_bias: dict[str, float] | None = None
logprobs: bool | None = False
top_logprobs: int | None = 0
max_tokens: int | None = Field(
default=None,
deprecated="max_tokens is deprecated in favor of "
"the max_completion_tokens field",
)
max_completion_tokens: int | None = None
n: int | None = 1
presence_penalty: float | None = 0.0- SamplingParams Layer (Incomplete Validation):
When the API request is converted to internal SamplingParams in vllm/sampling_params.py, the _verify_args method only checks the lower bound (self.n < 1), entirely omitting an upper bounds check.
def _verify_args(self) -> None:
if not isinstance(self.n, int):
raise ValueError(f"n must be an int, but is of type {type(self.n)}")
if self.n < 1:
raise ValueError(f"n must be at least 1, got {self.n}.")- Engine Layer (The OOM Trigger):
When the malicious request reaches the core engine (vllm/v1/engine/async_llm.py), the engine attempts to fan out the request n times to generate identical independent sequences within a synchronous loop.
# Fan out child requests (for n>1).
parent_request = ParentRequest(request)
for idx in range(parent_params.n):
request_id, child_params = parent_request.get_child_info(idx)
child_request = request if idx == parent_params.n - 1 else copy(request)
child_request.request_id = request_id
child_request.sampling_params = child_params
await self._add_request(
child_request, prompt_text, parent_request, idx, queue
)
return queueBecause Python's asyncio runs on a single thread and event loop, this monolithic for-loop monopolizes the CPU thread. The server stops responding to all other connections (including liveness probes). Simultaneously, the memory allocator is overwhelmed by cloning millions of request object instances via copy(request), driving the host's Resident Set Size (RSS) up by gigabytes per second until the OS OOM-killer terminates the vLLM process.
Impact
Vulnerability Type: Resource Exhaustion / Denial of Service
Impacted Parties:
- Any individual or organization hosting a public-facing vLLM API server (
vllm.entrypoints.openai.api_server), which happens to be the primary entrypoint for OpenAI-compatible setups. - SaaS / AI-as-a-Service platforms acting as reverse proxies sitting in front of vLLM without strict HTTP body payload validation or rate limitations.
Because this vulnerability exploits the control plane rather than the data plane, an unauthenticated remote attacker can achieve a high success rate in taking down production inference hosts with a single HTTP request. This effectively circumvents any hardware-level capacity planning and conventional bandwidth stress limitations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-19351
GHSA-3mwp-wvh9-7528
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB