Skip to main content

vLLM CVE-2026-54235

MEDIUM
Improper Validation of Specified Type of Input (CWE-1287)
2026-06-17 https://github.com/vllm-project/vllm GHSA-7h4p-rffg-7823
6.9
CVSS 4.0 · Vendor: https://github.com/vllm-project/vllm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach vLLM inference API endpoint
  2. Delivery
    Submit request with temperature=NaN or temperature=+Inf
  3. Exploit
    Bypass all comparison guards in _verify_args()
  4. Execution
    Non-finite value forwarded to CUDA sampling kernel
  5. Persist
    Fatal CUDA error crashes inference worker
  6. Impact
    All 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pypi vllm fix: 0.24.0

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

Vendor (https://github.com/vllm-project/vllm) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.5 HIGH

Network-reachable API requires no confirmed authentication; single crafted parameter crashes the worker (A:H); no confidentiality or integrity impact identified.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (https://github.com/vllm-project/vllm).

CVSS VectorVendor: https://github.com/vllm-project/vllm

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 22, 2026 - 23:22 NVD
6.9 (MEDIUM)

DescriptionCVE.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:

python
if 0 < self.temperature < _MAX_TEMP:
# NaN → False; +Inf → False

sampling_params.py:462:

python
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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 pypi packages depend on vllm (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 0.8.5.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

pkg:pip/vllm

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy