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

Published May 28, 2025
·
Updated

Impact

A denial of service bug caused the vLLM server to crash if an invalid regex was provided while using structured output. This vulnerability is similar to GHSA-6qc9-v4r8-22xg, but for regex instead of a JSON schema.

Issue with more details: https://github.com/vllm-project/vllm/issues/17313

Patches

https://github.com/vllm-project/vllm/pull/17623

Other sources

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.

— MITRE

Affected Software

2 affected componentsFixes available
pip/vllm>=0.8.0<0.9.0
0.9.0
vllm vllm>=0.8.0<0.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/vllm to a version that resolves this vulnerability.

    Fixed in 0.9.0
  2. Upgrade

    Upgrade vllm to a version that resolves this vulnerability.

    Fixed in 0.9.0

Event History

May 28, 2025
Advisory Published
via GitHub·07:42 PM
Data Sourced
via GitHub·07:42 PM
DescriptionSeverityWeaknessAffected Software
May 30, 2025
CVE Published
via MITRE·06:36 PM
Data Sourced
via MITRE·06:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-48943?

CVE-2025-48943 is categorized as a denial of service vulnerability due to an invalid regex input causing the vLLM server to crash.

2

How do I fix CVE-2025-48943?

To fix CVE-2025-48943, upgrade the vllm package to version 0.9.0 or later.

3

Which versions of vllm are affected by CVE-2025-48943?

CVE-2025-48943 affects vllm versions between 0.8.0 and 0.9.0, exclusive of 0.9.0.

4

What is the impact of exploiting CVE-2025-48943?

Exploiting CVE-2025-48943 can lead to a denial of service condition where the vLLM server becomes unresponsive.

5

Is there a workaround for CVE-2025-48943?

Currently, the best workaround for CVE-2025-48943 is to avoid using invalid regex patterns in structured output.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203