CVE-2025-48943: vllm Denial of Service Vulnerability Due to Invalid Regex Input

vllm Updated 02 Oct 2025

Summary

30/05/2025
Yes i
Moderate
6.5

CVE-2025-48943: vLLM is an inference and serving engine for large language models (LLMs). Affects vllm across 2 version ranges.

>= 0.8.0, < 0.9.0 < 08bf7840780980c7568c573c70a6a8db94fd45ff

Fixed in 08bf7840780980c7568c573c70a6a8db94fd45ff. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

vLLM is an inference and serving engine designed for large language models (LLMs). It enables efficient deployment and management of LLMs, providing features such as structured output handling. However, certain versions of vLLM are susceptible to a Denial of Service (DoS) attack when invalid regular expressions are used, leading to server crashes.

Vulnerability Detail

The vulnerability identified as CVE-2025-48943 affects vLLM versions from 0.8.0 up to, but not including, 0.9.0. It arises from improper handling of invalid regex patterns during structured output processing. When an invalid regex is provided, the vLLM server can crash, resulting in a Denial of Service. This issue is similar to a previously identified vulnerability (GHSA-6qc9-v4r8-22xg/CVE-2025-48942) but specifically pertains to regex rather than JSON schema validation.

How To Fix

Latest published version: 0.32.0 as of 22 Oct 2026

pip install --upgrade "vllm==0.32.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

08bf7840780980c7568c573c70a6a8db94fd45ff

This is the first release that contains the fix.

pip install --upgrade "vllm==08bf7840780980c7568c573c70a6a8db94fd45ff"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, avoid using invalid regex patterns in your structured output configurations. Ensure that all regex inputs are validated before being processed by the vLLM server.

Conclusion

CVE-2025-48943 presents a significant risk to users of vLLM versions 0.8.0 to 0.9.0 due to its potential to cause Denial of Service through invalid regex inputs. Users are strongly advised to upgrade to version 0.9.0 or later to mitigate this risk.

See every vulnerability recorded for vllm →

Share this vulnerability

FAQ

The impact of this vulnerability is a Denial of Service, where the vLLM server can crash if an invalid regex is provided, disrupting service availability.

Versions of vLLM from 0.8.0 up to, but not including, 0.9.0 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If you cannot update immediately, ensure that you validate all regex inputs to prevent the server from crashing.

Related vulnerabilities

Recent vulnerabilities recorded for vllm.

How To Fix

Latest published version: 0.32.0 as of 22 Oct 2026

pip install --upgrade "vllm==0.32.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

08bf7840780980c7568c573c70a6a8db94fd45ff

This is the first release that contains the fix.

pip install --upgrade "vllm==08bf7840780980c7568c573c70a6a8db94fd45ff"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback