CVE-2025-48943 vLLM allows clients to crash the openai server with invalid regex

Medium 6.5 Published Updated

Attackers can crash the vLLM server by sending invalid regex patterns during structured output requests, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48943?

CVE-2025-48943 is a medium-severity denial of service vulnerability in Vllm Vllm, published on 30 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

vLLM is an inference and serving engine for large language models (LLMs). Version 0.8.0 up to but excluding 0.9.0 have a Denial of Service (ReDoS) that causes the vLLM server to crash if an invalid regex was provided while using structured output. This vulnerability is similar to GHSA-6qc9-v4r8-22xg/CVE-2025-48942, but for regex instead of a JSON schema. Version 0.9.0 fixes the issue.

Weakness: CWE-248

Which versions are affected by CVE-2025-48943?

3 open source packages ship an affected version, including vllm. It affects 1 product.

PackageAffectedFixed in
vllm PyPIFrom 0.8.00.9.0
vllm PyPIFrom 0.8.00.9.0
vllm PyPIFrom 0.8.00.9.0

Products include Vllm Vllm.

How do I fix CVE-2025-48943?

Upgrade vllm to 0.9.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-48943 being exploited?

There is no known exploitation of CVE-2025-48943 in the wild and no public exploit code.

All Vllm Vllm vulnerabilities

Sources

Also known as GHSA-9hcf-v7m4-6m2j, PYSEC-2025-55.

Is CVE-2025-48943 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free