vLLM CVE-2026-54235
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach vLLM inference API endpoint
-
DeliverySubmit request with temperature=NaN or temperature=+Inf
-
ExploitBypass all comparison guards in _verify_args()
-
ExecutionNon-finite value forwarded to CUDA sampling kernel
-
PersistFatal CUDA error crashes inference worker
-
ImpactAll concurrent user sessions terminated
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
|
| Exploitation Conditions | Exploitation requires the ability to submit an inference request to the vLLM API and supply an arbitrary floating-point value for the temperature parameter. The vulnerable code path is exercised on every call to SamplingParams._verify_args() - invoked during normal inference - whenever temperature is NaN or positive Infinity. No special server-side configuration or non-default deployment mode is required; the flaw exists in the default installation of vllm ≤ 0.23.0. What limits exploitation in practice is network access control: deployments behind an authenticating reverse proxy, a WAF or API gateway that enforces finite float constraints on sampling parameters, or a restricted network perimeter are harder to reach. Negative Infinity is not a viable exploit value because the existing check float('-inf') < 0.0 correctly evaluates to True and raises a validation error. |
| Impact | No official CVSS score or vector was provided in any source, so all metric assessments in this analysis are independently inferred and should be treated accordingly. The attack vector is network-accessible via the vLLM inference API; complexity is low because a single crafted field value suffices with no race conditions or chained preconditions; and the availability impact is high because the worker process crashes, terminating all concurrent sessions. There is no confidentiality or integrity impact. EPSS data is absent from all sources, and this CVE does not appear in the CISA KEV catalog, confirming that no widespread active exploitation has been observed at time of analysis. Real-world risk is highly deployment-dependent: vLLM installations that expose the API without authentication - common in research, internal tooling, and prototype environments - face a meaningful denial-of-service risk from any party that can reach the endpoint. Deployments sitting behind an authenticating reverse proxy or an API gateway that validates floating-point fields are materially less exposed. The absence of a KEV listing and the purely local-to-GPU crash scope suggest targeted or opportunistic rather than widespread exploitation is the primary concern. |
| Exploit ScenarioDerived | An attacker with network access to an exposed vLLM inference API endpoint submits a standard generation request with the temperature field set to NaN or positive Infinity - expressible in JSON via a non-compliant NaN literal or through a Python client that serializes float('nan') or float('inf'). The value bypasses all comparison-based guards in SamplingParams._verify_args(), is forwarded directly to the CUDA softmax sampling kernel, and produces a fatal CUDA error that terminates the inference worker process, immediately dropping all in-flight requests from every concurrent user. No public exploit code has been identified at time of analysis, but the full trigger condition is disclosed in the published advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Temperature parameter validation in vLLM (pip/vllm ≤ 0.23.0) can be bypassed by supplying NaN or positive Infinity as the temperature value, because Python's IEEE 754 float comparison operators silently return False for these inputs, allowing the values to propagate unchecked into GPU CUDA sampling kernels. The invalid inputs trigger undefined behavior or fatal CUDA errors that crash the inference worker process, dropping all in-flight requests and degrading service for every concurrent user sharing that worker. No public exploit has been identified at time of analysis, though the trigger condition is fully disclosed in the published GHSA-7h4p-rffg-7823 advisory and is trivially reproducible from that description alone.
RemediationAI
An upstream fix is available via GitHub PR #45116 (https://github.com/vllm-project/vllm/pull/45116) and the associated commit d598d239737cfa37bcfcb98886ec3f3557fc7198, which adds math.isfinite() guards for both temperature and repetition_penalty in _verify_args(). However, the GHSA advisory explicitly lists 'fixed in: None', meaning a tagged released version incorporating this patch has not been confirmed at time of analysis - monitor https://github.com/vllm-project/vllm/releases for a release that includes this commit. Organizations running vLLM from source can cherry-pick the commit directly with no known side effects. As a compensating control until a patched release is confirmed, deploy an API gateway or reverse proxy that rejects inference requests where temperature is not a finite IEEE 754 float before they reach the vLLM worker; the trade-off is added configuration overhead and a potential for false positives if legitimate clients intentionally omit the field. Restricting API access to authenticated and trusted clients reduces the exposure surface but does not eliminate the risk if any authenticated caller can supply arbitrary parameter values.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
vLLM is a high-throughput LLM inference engine written in Python that dispatches sampling operations to CUDA GPU kernels. The affected logic resides in vllm/sampling_params.py, where the _verify_args() method validates inference hyperparameters including temperature. The root cause, classified as CWE-1287 (Improper Validation of Specified Type of Input), is that all temperature bounds checks use standard Python comparison operators (< and >) rather than IEEE 754-aware predicates. Under Python's IEEE 754 semantics, any comparison involving NaN evaluates to False regardless of the comparand, and float('inf') < 0.0 similarly evaluates to False, so both NaN and positive Infinity silently pass every guard. Negative Infinity is incidentally caught because float('-inf') < 0.0 evaluates to True. The same defect was independently present in the repetition_penalty parameter. The fix merged in PR #45116 imports the math module and calls math.isfinite() in _verify_args() before any range check, rejecting non-finite values with a VLLMValidationError (HTTP 400) for temperature and a ValueError for repetition_penalty. The affected package is identified as pkg:pip/vllm.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Network-reachable API requires no confirmed authentication; single crafted parameter crashes the worker (A:H); no confidentiality or integrity impact identified.
Primary rating from Vendor (https://github.com/vllm-project/vllm).
CVSS VectorVendor: https://github.com/vllm-project/vllm
Lifecycle Timeline
1DescriptionCVE.org
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 → Falsesampling_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
Blast Radius
ecosystem impact- 3 pypi packages depend on vllm (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.8.5.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
GHSA-7h4p-rffg-7823
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB