CVE-2025-48942
NixOS vulnerability analysis and mitigation

Overview

vLLM, an inference and serving engine for large language models (LLMs), contains a vulnerability in versions 0.8.0 up to but excluding 0.9.0. The vulnerability allows an attacker to crash the vLLM server by sending an invalid json_schema as a Guided Param to the /v1/completions API. This vulnerability was discovered in May 2025 and has been assigned CVE-2025-48942 with a CVSS v3.1 base score of 6.5 (MEDIUM) (GitHub Advisory, Wiz Database).

Technical details

The vulnerability stems from uncaught exceptions from xgrammar in the compiler.py module. When the system receives an invalid json_schema, it assumes any validation error raised by xgrammar is due to unsupported json schema features, and the backend is reverted to guidance without further validation checks. This assumption leads to the server crash when processing invalid grammar specifications. The vulnerability has been assigned CWE-248 (Uncaught Exception) and affects the /v1/completions API endpoint (GitHub Advisory, Wiz Database).

Impact

When successfully exploited, this vulnerability results in a Denial of Service (DoS) condition, causing the vLLM server to crash. The impact is limited to availability, with no effect on the confidentiality or integrity of the system (Wiz Database).

Exploitability

The vulnerability can be exploited remotely by sending specially crafted requests to the /v1/completions API endpoint. The attack requires low complexity and minimal privileges, though it does require network access to the target system. The CVSS vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) indicates that the attack can be performed over the network with low attack complexity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in vLLM version 0.9.0. Users should upgrade to this version or later to prevent potential attacks. The fix includes additional guidance validation checks if the xgrammar validation fails, to catch invalid grammar specifications before attempting to compile the grammar (GitHub Advisory, Wiz Database).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management