CVE-2025-46722
HIGH 7.3CVSS 3.1vLLM has a Weakness in MultiModalHasher Image Hashing Implementation
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.
- Published
- 29 May 2025
- Last modified
- 7 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1023CWE-1288
- Also known as
- GHSA-c65p-x677-fgj6PYSEC-2025-43
- Sources
- NVDJSONOSV GHSA-c65p-x677-fgj6JSONOSV PYSEC-2025-43JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vllm | vllmcpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:* |
>= 0.7.0, < 0.9.0 | 0.9.0 |
| OSV | PyPI | vllm | >= 0.7.0, < 0.9.0 | 0.9.0 |
| OSV | PyPI | vllm | < 0.9.0 | 0.9.0 |
References
- https://github.com/vllm-project/vllm/commit/99404f53c72965b41558aceb1bc2380875f5d848 · Patch, WEB, FIX
- https://github.com/vllm-project/vllm/pull/17378 · Issue Tracking, Patch, WEB
- https://github.com/vllm-project/vllm/security/advisories/GHSA-c65p-x677-fgj6 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-46722 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2025-43.yaml · WEB
- https://github.com/vllm-project/vllm · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 May 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 May 2025)