Inefficient Regular Expression Complexity Affecting py3.10-vllm-cuda-11.8 package, versions <0.8.5-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.54% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PY310VLLMCUDA118-10060250
  • published7 May 2025
  • disclosed30 Apr 2025

Introduced: 30 Apr 2025

CVE-2025-46560  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard py3.10-vllm-cuda-11.8 to version 0.8.5-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3.10-vllm-cuda-11.8 package and not the py3.10-vllm-cuda-11.8 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Versions starting from 0.8.0 and prior to 0.8.5 are affected by a critical performance vulnerability in the input preprocessing logic of the multimodal tokenizer. The code dynamically replaces placeholder tokens (e.g., <|audio_|>, <|image_|>) with repeated tokens based on precomputed lengths. Due to ​​inefficient list concatenation operations​​, the algorithm exhibits ​​quadratic time complexity (O(n²))​​, allowing malicious actors to trigger resource exhaustion via specially crafted inputs. This issue has been patched in version 0.8.5.

CVSS Base Scores

version 3.1