CVE-2026-54235: CWE-1287: Improper Validation of Specified Type of Input in vllm-project vllm
vLLM versions prior to 0.23.1rc0 have an input validation flaw in temperature parameter checks. The validation uses comparison operators that fail to properly handle NaN and positive Infinity float values, allowing these to bypass guards and reach GPU sampling kernels. This can cause undefined behavior or CUDA errors that crash the inference worker. The issue is fixed in version 0.23.1rc0.
AI Analysis
Technical Summary
The vulnerability in vLLM before 0.23.1rc0 involves improper validation of the temperature input parameter. The validation gates use less-than and greater-than operators that silently evaluate to False for NaN and positive Infinity values under Python's IEEE 754 float semantics. Consequently, these special float values bypass the validation checks and propagate to GPU sampling kernels, leading to undefined behavior or CUDA errors that can crash the inference worker. This is classified as CWE-1287 (Improper Validation of Specified Type of Input). The vulnerability has a CVSS 4.0 base score of 6.9 (medium severity). The issue is fixed in version 0.23.1rc0.
Potential Impact
An attacker or malformed input providing NaN or positive Infinity as the temperature parameter can cause the inference worker to crash due to undefined behavior or CUDA errors in GPU sampling kernels. This results in denial of service of the inference engine. There is no indication of privilege escalation, data disclosure, or code execution.
Mitigation Recommendations
Upgrade to vLLM version 0.23.1rc0 or later, where the temperature validation properly handles NaN and positive Infinity values. No other mitigation or workaround is indicated. Patch status is not explicitly confirmed in the advisory, but the fix is stated to be in 0.23.1rc0.
CVE-2026-54235: CWE-1287: Improper Validation of Specified Type of Input in vllm-project vllm
Description
vLLM versions prior to 0.23.1rc0 have an input validation flaw in temperature parameter checks. The validation uses comparison operators that fail to properly handle NaN and positive Infinity float values, allowing these to bypass guards and reach GPU sampling kernels. This can cause undefined behavior or CUDA errors that crash the inference worker. The issue is fixed in version 0.23.1rc0.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in vLLM before 0.23.1rc0 involves improper validation of the temperature input parameter. The validation gates use less-than and greater-than operators that silently evaluate to False for NaN and positive Infinity values under Python's IEEE 754 float semantics. Consequently, these special float values bypass the validation checks and propagate to GPU sampling kernels, leading to undefined behavior or CUDA errors that can crash the inference worker. This is classified as CWE-1287 (Improper Validation of Specified Type of Input). The vulnerability has a CVSS 4.0 base score of 6.9 (medium severity). The issue is fixed in version 0.23.1rc0.
Potential Impact
An attacker or malformed input providing NaN or positive Infinity as the temperature parameter can cause the inference worker to crash due to undefined behavior or CUDA errors in GPU sampling kernels. This results in denial of service of the inference engine. There is no indication of privilege escalation, data disclosure, or code execution.
Mitigation Recommendations
Upgrade to vLLM version 0.23.1rc0 or later, where the temperature validation properly handles NaN and positive Infinity values. No other mitigation or workaround is indicated. Patch status is not explicitly confirmed in the advisory, but the fix is stated to be in 0.23.1rc0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T16:25:43.084Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a39b9b1eed863c81e85ffab
Added to database: 06/22/2026, 22:39:45 UTC
Last enriched: 06/22/2026, 22:54:19 UTC
Last updated: 06/22/2026, 23:25:27 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.