CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

GHSA-7h4p-rffg-7823: vLLM: temperature=NaN and temperature=Infinity bypass validation and propagate to GPU kernels

mediumCVSS 6.5CVE-2026-54235
Summary All temperature validation gates use comparison operators (<, >), which silently evaluate to False for NaN and for positive Infinity in Python's IEEE 754 float semantics. Both values pass every guard and propagate to GPU sampling kernels, where they produce undefined behavior or CUDA errors that can crash the inference worker. Note: -Infinity is correctly caught. Root Cause sampling_params.py:384: if 0 < self.temperature < _MAX_TEMP: # NaN → False; +Inf → False sampling_params.py:462: if self.temperature < 0.0: # NaN → False; +Inf → False raise VLLMValidationError(...) No math.isnan() or math.isinf() check exists anywhere in sampling_params.py. Python semantics (verified): float('nan') < 0.0 → False, float('inf') < 0.0 → False. Impact Crash of inference worker on GPU kernel execution with NaN/Inf softmax input, degrading service for all concurrent users. Remediation Add math.isfinite(self.temperature) check in _verify_args(). Reject non-finite float values with a 400 error. Fix A fix for this vulnerability was merged here: https://github.com/vllm-project/vllm/pull/45116

Details

Source
GitHub Security Advisories (INTL · database · site)
Severity
medium — CVSS 6.5
Published
2026-06-17
Last updated
2026-07-17
Exploitation
Not in CISA KEV at last sync

Original advisory: https://github.com/advisories/GHSA-7h4p-rffg-7823

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2026-54235coverage & exploitation statusNVD · CVE.org

Same CVEs, other sources

How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.

More from GitHub Security Advisories