CVE-2025-48942 Details
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.
A denial-of-service vulnerability has been identified in vLLM, an inference and serving engine for large language models. This issue affects vLLM versions 0.8.0 prior to 0.9.0. When the '/v1/completions' API is accessed with an invalid JSON schema as a guided parameter, the vLLM server crashes. The vulnerability arises because the server does not properly handle validation errors from the 'xgrammar' library, leading to an uncaught exception that terminates the server process.
Users can upgrade to vLLM version 0.9.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/vllm-project/vllm/commit/08bf7840780980c7568c573c70a6a8db94fd45ff | [email protected] | Patch |
| https://github.com/vllm-project/vllm/issues/17248 | [email protected] | Issue Tracking |
| https://github.com/vllm-project/vllm/pull/17623 | [email protected] | Issue TrackingPatch |
| https://github.com/vllm-project/vllm/security/advisories/GHSA-6qc9-v4r8-22xg | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vllm vllm | >= 0.8.0, < 0.9.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2025 | Initial Analysis | [email protected] |
| May 30, 2025 | New CVE Received | [email protected] |