Skip to content
MediumVulnerabilityLLM-specific

CVE-2025-46722: vLLM hash collisions in multimodal image hashing via raw pixel bytes

Identifier
CVE-2025-46722
Published
Record updated
View JSON
Affected
  • vllm >= 0.7.0, < 0.9.0
Fixed in
0.9.0
  • released May 27, 2025, 1 day before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

vLLM versions from 0.7.0 before 0.9.0 contain a flaw in the MultiModalHasher class in vllm/multimodal/hasher.py. Its image hashing method serializes PIL.Image.Image objects using only obj.tobytes(), which omits metadata such as width, height and mode, so images of different dimensions with identical pixel bytes can produce the same hash. This can cause hash collisions, incorrect cache hits, and possible data leakage.

Mitigation

Fixed in 0.9.0.