CVE-2026-54235: vLLM Temperature Validation DoS Vulnerability
vLLM, a popular engine for running and serving large language models, has a flaw in how it validates temperature parameters before sending them to GPU processing. When users supply invalid temperature values—specifically NaN (not-a-number) or positive infinity—the validation checks incorrectly pass them through because Python's comparison operators don't handle these special float values as expected. Those malformed values then reach the GPU sampling kernels, causing crashes or undefined behavior that disrupts inference workloads. The issue affects versions before 0.23.1rc0 and is resolved in that release.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Weaknesses (CWE)
- CWE-1287
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-22 / 2026-06-24
NVD description (verbatim)
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.23.1rc0, ll 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. This vulnerability is fixed in 0.23.1rc0.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from insufficient temperature parameter validation in vLLM's inference pipeline. The validation logic relies on comparison operators (<, >) to enforce bounds on the temperature parameter, but these operators evaluate to False when compared against NaN or positive Infinity per IEEE 754 semantics, allowing invalid values to bypass all guards. When these unvalidated parameters reach CUDA sampling kernels, they trigger undefined behavior or CUDA runtime errors, crashing the worker process. The root cause is treating float comparisons as foolproof without explicit NaN/Infinity checks. This affects the inference path used for nearly all LLM sampling operations.
Business impact
Availability impact is the primary concern: attackers can craft requests with malicious temperature values to crash inference workers, causing service disruptions and requiring manual restart of affected pods or instances. In multi-tenant or public-facing deployments, this becomes a denial-of-service vector. Integrity impact is limited to potential silent sampling misbehavior before a crash occurs, but no data breach or model corruption is expected. For organizations running vLLM in production, unpatched instances are vulnerable to availability attacks that degrade inference service quality.
Affected systems
vLLM versions prior to 0.23.1rc0 are vulnerable. This includes all stable releases up to 0.23.0 and earlier minor versions. Any deployment running vLLM for LLM inference—whether on-premises, cloud-hosted, or containerized—is potentially affected if not updated. The vulnerability does not depend on specific GPU vendor, though exploitation surfaces through GPU sampling kernels where the actual crash or undefined behavior manifests.
Exploitability
Exploitability is straightforward: an attacker with network access to a vLLM inference endpoint can send a request containing a temperature parameter set to NaN or positive infinity (e.g., via HTTP body or API parameters). No authentication bypass is required, and no complex race conditions or user interaction is necessary. The attack is deterministic and repeatable. Organizations exposing vLLM endpoints publicly without rate-limiting or request validation are at elevated risk. Exploitation does not require sophisticated tooling—basic HTTP clients suffice.
Remediation
Upgrade vLLM to version 0.23.1rc0 or later. If immediate patching is not feasible, implement request-level validation on API gateways or load balancers to reject temperature values outside the valid range (typically 0.0 to 2.0 or similar, depending on your sampling strategy) and explicitly reject NaN and infinity values. This acts as a temporary mitigation but is not a substitute for patching. Verify the upgrade path from your current version to 0.23.1rc0 against the official vLLM release notes.
Patch guidance
Update vLLM to 0.23.1rc0 or any later release. For containerized deployments, rebuild container images with the patched vLLM version and redeploy pods. For virtual machine or bare-metal deployments, use your package manager (pip, apt, etc.) to upgrade vLLM. No database migrations or configuration changes are required. After upgrade, validate that temperature parameters are correctly validated by submitting test requests with edge-case values (NaN, infinity) and confirming rejection or safe handling. Restart inference workers to ensure the new code is in use.
Detection guidance
Monitor inference worker logs and GPU error logs for CUDA runtime errors or segmentation faults coinciding with requests containing unusual temperature parameters. Inspect API request logs for temperature values that are not decimal numbers (look for 'NaN', 'inf', '-inf' in raw request bodies). Set up alerts for worker crashes correlated with inference requests. If you have access to vLLM metrics, track temperature parameter distributions and flag outliers. Network-level detection is limited without deep packet inspection, but host-level monitoring of CUDA errors is effective.
Why prioritize this
This vulnerability should be prioritized for patches within the next 1–2 weeks. Although CVSS is Medium (6.5), the availability impact is direct and easily triggered by unauthenticated network requests. The attack surface is broad for any public-facing vLLM endpoint, and the fix is a straightforward software upgrade with no breaking changes. Organizations relying on vLLM for production inference should treat this as high priority despite the medium CVSS score, because availability of LLM services directly impacts business operations.
Risk score, explained
CVSS 6.5 (Medium) reflects the combination of network-accessible attack surface (AV:N), low attack complexity (AC:L), no privilege required (PR:N), no user interaction (UI:N), and scope unchanged (S:U). The impact side shows no confidentiality loss (C:N) but low integrity and low availability impact (I:L/A:L). The score correctly penalizes the ease of triggering a crash but acknowledges that data confidentiality is not compromised. However, for production LLM inference workloads, the business criticality of availability often elevates the practical risk above the numerical score.
Frequently asked questions
Can an attacker steal model weights or training data through this vulnerability?
No. This vulnerability causes denial of service (crashing workers) but does not enable model extraction, data theft, or unauthorized model access. The vulnerability is limited to availability impact.
Do I need to change my vLLM configuration or API contracts after patching?
No. Patching to 0.23.1rc0 or later requires no configuration changes or API updates. Existing client code and inference requests will work as before, with the added benefit of proper parameter validation.
What happens if I apply request filtering instead of patching?
Request filtering at an API gateway (rejecting NaN and infinity) can reduce immediate risk but is not a complete fix. It protects availability but does not address the underlying validation bug in vLLM itself. Always patch as the primary remediation; filtering is a temporary stopgap only.
Are other parameter types (like top_p or max_tokens) affected by the same validation bug?
The CVE specifically describes the temperature parameter. Other parameters may have similar issues, but they are not covered by this CVE. Review vLLM release notes for 0.23.1rc0 to see if other parameter validation improvements are included.
This analysis is based on the CVE description and public vLLM release information as of the publication date. Consult the official vLLM GitHub repository and security advisories for the most current patch status and version numbers. Verify all upgrade paths and compatibility with your deployment before applying patches. This page does not constitute security advice for your specific infrastructure; conduct your own risk assessment appropriate to your threat model and operational context. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2024-6858MEDIUMArista EOS 802.1X Multi-Auth Bypass via Fallback VLAN EAPOL Device
- CVE-2026-47675MEDIUMHono Cookie Injection Vulnerability in sameSite and priority Parameters
- CVE-2026-11460HIGHBoost Serialization Remote Input Validation Flaw – No Patch Available
- CVE-2026-44249HIGHNetty IPv6 Subnet Filter Bypass Vulnerability (CVSS 8.1)
- CVE-2026-49941HIGHNet::CIDR::Set Infinite Recursion Denial of Service
- CVE-2026-9742HIGHMongoDB OIDC Pre-Auth Denial-of-Service Vulnerability
- CVE-2026-9753HIGHMongoDB Out-of-Bounds Memory Access in Aggregation Pipeline
- CVE-2025-71379MEDIUMvLLM ReDoS Vulnerability in Regex Parsing (0.6.3–0.9.0)