CVE-2025-48942 vLLM DOS: Remotely kill vllm over http with invalid JSON schema

Medium 6.5 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-48942?

CVE-2025-48942 is a medium-severity vulnerability in Vllm Vllm, published on 30 May 2025.

Official description

vLLM is an inference and serving engine for large language models (LLMs). In versions 0.8.0 up to but excluding 0.9.0, hitting the /v1/completions API with a invalid json_schema as a Guided Param kills the vllm server. This vulnerability is similar GHSA-9hcf-v7m4-6m2j/CVE-2025-48943, 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-48942?

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-48942?

Upgrade vllm to 0.9.0 or later.

Is CVE-2025-48942 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48942 exists.

All Vllm Vllm vulnerabilities

Sources

Also known as GHSA-6qc9-v4r8-22xg, PYSEC-2025-54.

Is CVE-2025-48942 in your software?

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

Check your SBOMs for free