Data Integrity Issue in vLLM by the vLLM Project
CVE-2025-46722
4.2MEDIUM
What is CVE-2025-46722?
The vLLM inference and serving engine for large language models contains a security vulnerability affecting its MultiModalHasher class. Specifically, the image hashing method lacked the capability to include essential metadata when serializing PIL.Image.Image objects. By only using obj.tobytes(), the process returned solely the raw pixel data. This oversight allowed for different images with identical pixel data sequences to yield the same hash value, resulting in potential hash collisions. The implications of this vulnerability include incorrect cache hits, data leakage, and various security challenges. Fortunately, the issue has been addressed in version 0.9.0, enhancing the integrity of image handling.
Affected Version(s)
vllm >= 0.7.0, < 0.9.0