CVE-2025-46722CWE-1023CWE-1288

vLLM has a Weakness in MultiModalHasher Image Hashing Implementation

Medium · published May 29, 2025

CVSS v3.1
4.2
EPSS
0%
Percentile
24.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00324 · 24.2th percentile
Weaknesses
CWE-1023 · Incomplete Comparison with Missing Factors; CWE-1288 · Improper Validation of Consistency within Input
Published
2025-05-29T16:36Z
EPSS history
Timeline
  • 29 MAY 16:36Z
    vLLM has a Weakness in MultiModalHasher Image Hashing Implementation
    cvelistv5