CVE-2025-46722

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*

History

24 Jun 2025, 18:12

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-29 17:15

Updated : 2025-06-24 18:12


NVD link : CVE-2025-46722

Mitre link : CVE-2025-46722

CVE.ORG link : CVE-2025-46722


JSON object : View

Products Affected

vllm

  • vllm
CWE
CWE-1023

Incomplete Comparison with Missing Factors

CWE-1288

Improper Validation of Consistency within Input