# CVE-2025-46722: vLLM has a Weakness in MultiModalHasher Image Hashing Implementation

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2025-05-28T18:03:41.000Z
- Modified: 2026-08-07T08:12:03.917Z
- Also known as: GHSA-c65p-x677-fgj6, PYSEC-2025-43
- Weaknesses: CWE-1023, CWE-1288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vllm-project vllm: >= 0.7.0, < 0.9.0
- vllm (PyPI): from 0.7.0 before 0.9.0; before 99404f53c72965b41558aceb1bc2380875f5d848; before 0.9.0
- vllm vllm: from 0.7.0 before 0.9.0

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://github.com/vllm-project/vllm/security/advisories/GHSA-c65p-x677-fgj6> (advisory, vendor-advisory, web)
- <https://github.com/vllm-project/vllm/pull/17378> (issue-tracking, patch, web)
- <https://github.com/vllm-project/vllm/commit/99404f53c72965b41558aceb1bc2380875f5d848> (fix, patch, web)
- <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)

## Sources

- CVE List: [CVE-2025-46722](https://www.cve.org/CVERecord?id=CVE-2025-46722), CVE Terms of Use, modified 2025-05-29
- GitHub Advisory Database: [GHSA-c65p-x677-fgj6](https://github.com/advisories/GHSA-c65p-x677-fgj6), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2025-46722](https://nvd.nist.gov/vuln/detail/CVE-2025-46722), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-43](https://osv.dev/vulnerability/PYSEC-2025-43), CC-BY-4.0, modified 2025-05-29

---

Page: https://cve.day/CVE-2025-46722 · Whole record: https://cve.day/CVE-2025-46722.json · Rebuilt by cve.day 2026-11-25T22:58:58.561Z
