Skip to main content
Vulnerability Database/CVE-2025-48944

CVE-2025-48944: vLLM Backend DoS Vulnerability

CVE-2025-48944 is a denial of service flaw in vLLM inference engine affecting the chat completions endpoint. Malformed input crashes workers requiring manual restart. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-48944 Overview

CVE-2025-48944 is an input validation vulnerability [CWE-20] in vLLM, an inference and serving engine for large language models (LLMs). The flaw affects the /v1/chat/completions OpenAPI endpoint when the tools functionality is invoked. The vLLM backend does not validate unexpected or malformed input in the pattern and type fields before compiling or parsing them. A single malicious request crashes the inference worker, and the worker stays down until an operator restarts it. The issue affects versions 0.8.0 up to but excluding 0.9.0, and is fixed in version 0.9.0.

Critical Impact

An authenticated attacker can crash the vLLM inference worker with a single malformed chat completions request, causing a denial of service against the LLM serving endpoint.

Affected Products

  • vLLM 0.8.0 through versions prior to 0.9.0
  • Deployments exposing the /v1/chat/completions OpenAPI endpoint
  • vLLM configurations with the tools functionality enabled

Discovery Timeline

  • 2025-05-30 - CVE-2025-48944 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-48944

Vulnerability Analysis

The vulnerability resides in the request handling path for the OpenAI-compatible /v1/chat/completions endpoint when a client invokes the tools functionality. Clients supply JSON schema fragments that constrain tool call outputs, including pattern and type fields. vLLM passes these values directly into downstream compilation and parsing routines without first validating that they are well-formed. Malformed regular expressions in pattern or unexpected values in type propagate as unhandled exceptions inside the inference worker process. The worker terminates and remains unavailable until it is manually restarted, interrupting inference for all subsequent requests routed to it.

Root Cause

The root cause is improper input validation [CWE-20] in the OpenAPI tool-call request handler. The code trusts caller-supplied schema fields and feeds them to a regex or schema compiler without a try/except boundary or pre-validation. Any exception that escapes the compiler takes the worker with it rather than returning a structured HTTP error to the client.

Attack Vector

Exploitation requires network access to the vLLM API and low-privilege authentication to the endpoint. The attacker crafts a chat completions request that enables the tools feature and supplies an invalid pattern value, such as an unparseable regular expression, or an unexpected type value in the embedded JSON schema. On receipt, the inference worker throws an unhandled exception and crashes. The impact is availability only, with no disclosure or modification of data.

No verified public proof-of-concept exploitation code is published. See the vLLM Security Advisory GHSA-vrq3-r879-7m65 for maintainer-provided technical detail.

Detection Methods for CVE-2025-48944

Indicators of Compromise

  • Unexpected termination or restart events for the vLLM inference worker process shortly after serving a /v1/chat/completions request.
  • HTTP 5xx responses or dropped connections on the chat completions endpoint followed by a service outage.
  • Chat completions requests containing tools payloads with syntactically invalid regular expressions in pattern or non-standard type values.

Detection Strategies

  • Parse application and container logs for exceptions raised during schema or regex compilation in the vLLM request handler.
  • Correlate worker restart events with the most recent inbound request payload captured at the API gateway or reverse proxy.
  • Inspect API traffic for /v1/chat/completions requests that include tools definitions with unusual pattern or type content.

Monitoring Recommendations

  • Alert on repeated vLLM worker crashes or restart loops within a short time window.
  • Track latency and error rates on the chat completions endpoint and page on sudden drops in throughput.
  • Enable request-body sampling at the reverse proxy for the chat completions route to support post-incident forensics.

How to Mitigate CVE-2025-48944

Immediate Actions Required

  • Upgrade vLLM to version 0.9.0 or later, which contains the fix delivered in vLLM Pull Request #17623.
  • Restrict network exposure of the /v1/chat/completions endpoint to trusted callers only, using authentication, network ACLs, or a reverse proxy.
  • Audit active vLLM deployments for versions in the 0.8.0–0.8.x range and prioritize them for patching.

Patch Information

The maintainers resolved the issue in vLLM 0.9.0. The fix adds validation of the pattern and type fields before they reach the schema compiler, so malformed input is rejected with an error response instead of crashing the worker. Review the merged change in vLLM Pull Request #17623.

Workarounds

  • Disable the tools functionality on exposed chat completions endpoints until the upgrade is complete.
  • Place a validating API gateway in front of vLLM that rejects requests containing malformed JSON schema fragments.
  • Run vLLM workers under a supervisor that restarts them automatically to reduce outage duration while patching is scheduled.
bash
# Upgrade vLLM to the fixed release
pip install --upgrade "vllm>=0.9.0"

# Verify the installed version
python -c "import vllm; print(vllm.__version__)"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.