CVE-2025-46722
vllm: vLLM has a Weakness in MultiModalHasher Image Hashing Implementation
Overview
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.
Source: OX vulnerability database
Severity
7.3 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-1023, CWE-1288
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | vllm | >=0.7.0, <0.9.0 | 0.9.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-46722
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2025-43.yaml
- github.com https://github.com/vllm-project/vllm
- github.com https://github.com/vllm-project/vllm/commit/99404f53c72965b41558aceb1bc2380875f5d848
- github.com https://github.com/vllm-project/vllm/pull/17378
- github.com https://github.com/vllm-project/vllm/security/advisories/GHSA-c65p-x677-fgj6
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-46722
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-46722
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.