CVE-2025-46722

Medium

Description

vLLM is an inference and serving engine for large language models (LLMs). In versions starting from 0.7.0 to before 0.9.0, in the file vllm/multimodal/hasher.py, the MultiModalHasher class has a security and data integrity issue in its image hashing method. Currently, it serializes PIL.Image.Image objects using only obj.tobytes(), which returns only the raw pixel data, without including metadata such as the image’s shape (width, height, mode). As a result, two images of different sizes (e.g., 30x100 and 100x30) with the same pixel byte sequence could generate the same hash value. This may lead to hash collisions, incorrect cache hits, and even data leakage or security risks. This issue has been patched in version 0.9.0.

SeverityMedium
CVSS4.2
Exploit probability—
ProductVllm
PublishedMay 29, 2025
First seenMay 29, 2025

How to fix

Update
  • vllm vllm0.9.0 or later
  • vllm0.9.0 or later

Affected products

ProductAffected versionsFixed in
vllm vllm0.7.0 ≤ v < 0.9.00.9.0
vllmPyPI0.7.0 ≤ v < 0.9.0, v < 0.9.00.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.