CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-73559

CVE-2026-73559: Uncontrolled Resource Consumption in vLLM API completions

Amit Schendel
Amit Schendel
Senior Security Researcher

Aug 13, 2026·5 min read·37 visits

Executive Summary (TL;DR)

vLLM is vulnerable to memory and queue exhaustion via unbounded prompt arrays in the completions API, fixed in v0.26.0.

CVE-2026-73559 is an uncontrolled resource consumption vulnerability in the vLLM engine, specifically within the /v1/completions API endpoint, allowing authenticated attackers to cause application-level denial of service via unbounded prompt arrays.

Vulnerability Overview

The CVE-2026-73559 vulnerability represents an uncontrolled resource consumption flaw (CWE-400) within the OpenAI-compatible completions API of the vLLM serving framework.

In deployment scenarios, vLLM acts as a high-performance inference engine, optimizing GPU memory consumption and transaction throughput via advanced scheduling algorithms. The API exposes multiple endpoints, including /v1/completions, which ingest payloads modeled after the OpenAI API specification to support batch-processing capabilities.

Prior to version 0.26.0, the validation layers failed to enforce an upper limit on the number of elements supplied in input arrays. This architectural oversight allows an authenticated client to issue a single HTTP request containing an arbitrary number of nested prompt sequences, bypassing connection-level or thread-level rate limits.

Upon receiving such a request, the engine attempts to process every element concurrently, leading to downstream resource starvation. The system fans out tasks into individual async generators, depleting available memory buffers, and causing host-level or container-level crash states.

Root Cause Analysis

The root cause of the vulnerability resides in the lack of input length checks within the Pydantic schema deserialization path of CompletionRequest. Located in vllm/entrypoints/openai/completion/protocol.py, the schema specifies the prompt parameter as a highly flexible Union supporting multiple configurations, such as lists of token arrays.

When a list is provided, the data passes to vllm/renderers/inputs/preprocess.py where prompt_to_seq() is called. This function performs array expansion, parsing each index of the outer list as an independent input sequence to prepare for execution.

Next, the engine loops through these sequences inside the OnlineRenderer.preprocess_completion() method of vllm/renderers/online_renderer.py. For every sequence processed, vLLM schedules an independent model generation task.

The execution of these parallel tasks occurs inside vllm/entrypoints/openai/completion/serving.py by calling self.engine_client.generate(). Because there was no validation check on the outer array size, an input array containing tens of thousands of elements causes the engine to allocate an identical number of concurrent generator slots, exhausting the server's asynchronous event loops, request queues, and memory buffers.

Code Analysis

The vendor addressed the vulnerability in version 0.26.0 by inserting a strict before-validation check on Pydantic models. This validation leverages a new configuration variable, VLLM_MAX_COMPLETION_PROMPTS, which restricts the maximum number of nested prompts allowed per request to a default of 1024.

Before the patch, the CompletionRequest class handled the prompt field without any array length verification, as shown in the original implementation:

# Original implementation lacking array length validation
prompt: Optional[Union[str, List[str], List[int], List[List[int]]]] = None

The patched version introduces an active Pydantic model validator inside vllm/entrypoints/openai/completion/protocol.py that intercepts the request dictionary before parsing:

# Patched implementation in protocol.py
@model_validator(mode="before")
@classmethod
def validate_prompt_list_length(cls, data):
    max_prompts = envs.VLLM_MAX_COMPLETION_PROMPTS
 
    prompt = data.get("prompt")
    if (
        isinstance(prompt, list)
        and len(prompt) > 0
        and not is_list_of(prompt, int)
        and len(prompt) > max_prompts
    ):
        raise VLLMValidationError(
            f"prompt list length {len(prompt)} exceeds the maximum "
            f"allowed count of {max_prompts}. To increase this "
            "limit, set the VLLM_MAX_COMPLETION_PROMPTS "
            "environment variable.",
            parameter="prompt",
        )
    return data

By implementing not is_list_of(prompt, int), the validator distinguishes between a single prompt composed of an array of token IDs (which must not be restricted by this logic) and a batch of multiple prompts. If the criteria are met and the list exceeds the maximum threshold, the validator immediately raises a VLLMValidationError, preventing downstream resource allocation.

Exploitation Methodology

Exploitation of CVE-2026-73559 requires network access to the target vLLM API server and authenticated client privileges where access control is enabled. The attack is straightforward, as it requires only standard JSON payload structures over HTTP POST.

To trigger the resource consumption condition, the attacker issues a request containing a single prompt parameter holding an array of 50,000 minimal string items. The HTTP payload structure matches the following standard model definition:

{
  "model": "meta-llama/Llama-3-8B-Instruct",
  "prompt": ["x", "x", "x", ... (repeated 50,000 times)],
  "max_tokens": 1
}

When the vLLM engine receives this payload, it bypasses connection-level limits because the server treats it as a single request. The diagram below represents the exact flow of the exploit vector leading to complete host starvation:

The execution of 50,000 individual generator loops rapidly exhausts the event queue and system memory, rendering the system unavailable to legitimate users and causing a hard process termination.

Impact Assessment & Mitigation

The impact of CVE-2026-73559 is rated as Medium (CVSS 6.5) due to its high availability impact, though it does not affect data confidentiality or integrity. Exploitation results in the immediate denial of service of the vLLM inference engine, affecting all workloads running on the same host.

To fully remediate this vulnerability, organizations must upgrade the vLLM package to version 0.26.0 or higher. This introduces the VLLM_MAX_COMPLETION_PROMPTS environment variable which limits the array depth at the schema layer.

In environments where immediate software upgrading is impossible, several defensive mitigations can be deployed:

  1. Ingress API Gateway Validation: Configure a proxy layer like Envoy or NGINX to inspect the /v1/completions request body and reject requests containing prompt arrays with element counts exceeding 128.

  2. Payload Size Restrictions: Set tight limits on HTTP POST body sizes (e.g., 512KB) to hinder the transmission of dense list payloads.

  3. Network Isolation: Ensure the API server is restricted to trusted internal networks, minimizing exposure to untrusted entities.

Fix Analysis (1)

Technical Appendix

CVSS Score
6.5/ 10

Affected Systems

vLLM Engine

Affected Versions Detail

Product
Affected Versions
Fixed Version
vllm
vllm-project
>= 0.19.0, < 0.26.00.26.0
AttributeDetail
CWE IDCWE-400
Attack VectorNetwork
CVSS v3.16.5
ImpactDenial of Service (DoS)
Exploit StatusPoC / Theoretical

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
T1499.004Endpoint Denial of Service: Application Exhaustion
Impact

Vulnerability Timeline

Advisory published and patch merged into master
2026-02-12

References & Sources

  • [1]vLLM Security Advisory
  • [2]vLLM Pull Request #47845

More Reports

•21 minutes ago•GHSA-78G4-XQWV-Q3G8
7.5

GHSA-78G4-XQWV-Q3G8: Heap-Based Buffer Overflow in Pillow (libopenjp2)

A heap-based buffer overflow vulnerability in Pillow PyPI binary wheels (versions 11.1.0 to 12.x) allows remote code execution or application crash via crafted JPEG 2000 files processed by the bundled libopenjp2 library.

Alon Barad
Alon Barad
2 views•4 min read
•about 1 hour ago•CVE-2026-109618
9.8

CVE-2026-109618: Remote Code Execution in PHP Core via Out-of-Memory longjmp() Uninitialized Memory Access

CVE-2026-109618 (dubbed PHP2Shell) is a critical vulnerability in the PHP engine core resulting from improper out-of-memory exception handling via longjmp(). When request allocation fails mid-processing, non-local control flow bypasses cleanup procedures, leaving memory structures uninitialized or in a use-after-free state during request shutdown.

Amit Schendel
Amit Schendel
9 views•5 min read
•about 1 hour ago•CVE-2026-109619
9.2

CVE-2026-109619: Remote Code Execution in PHP Core via Stale Global State Memory Corruption (PHP2Shell)

CVE-2026-109619 (PHP2Shell) is a critical Use-After-Free vulnerability in the core PHP engine caused by improper global state cleanup during out-of-memory exception handling across persistent worker requests.

Alon Barad
Alon Barad
10 views•6 min read
•about 1 hour ago•CVE-2026-113721
4.5

CVE-2026-113721: Unsafe Link Resolution in virtualenv File Generation

In Python virtualenv prior to version 21.14.9, activation script generators and configuration writers use Path.exists() before writing files. Because Path.exists() resolves symbolic links, it returns False for dangling symlinks. Consequently, virtualenv skips unlinking pre-planted symbolic links or hard links, writing data directly to target locations outside the intended virtual environment directory.

Amit Schendel
Amit Schendel
3 views•5 min read
•9 days ago•CVE-2026-87697
8.8

CVE-2026-87697: Untrusted Deserialization in .NET PresentationCore Clipboard Handling

A remote code execution vulnerability exists in Microsoft .NET due to untrusted data deserialization within the PresentationCore component. The flaw stems from implicit auto-conversion flags during clipboard data retrieval operations.

Alon Barad
Alon Barad
31 views•5 min read
•10 days ago•CVE-2026-70007
8.8

CVE-2026-70007: Out-of-Bounds Write Vulnerability in .NET Framework and WPF Subsystem

An out-of-bounds write vulnerability in Microsoft .NET Framework, .NET runtime, and Visual Studio allows unauthenticated remote attackers to execute arbitrary code via crafted pixel-shader bytecode or auto-converted clipboard payloads.

Amit Schendel
Amit Schendel
19 views•6 min read