{"id":"CVE-2025-46722","published":"2025-05-29T16:36:12Z","modified":"2025-05-29T18:13:02Z","title":"vLLM has a Weakness in MultiModalHasher Image Hashing Implementation","vendor":"vllm-project","product":"vllm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00338,"percentile":0.27902,"provenance":"source"},"cwes":[{"id":"CWE-1288","name":"Improper Validation of Consistency within Input"},{"id":"CWE-1023","name":"Incomplete Comparison with Missing Factors"}],"references":[{"url":"https://github.com/vllm-project/vllm/security/advisories/GHSA-c65p-x677-fgj6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vllm-project/vllm/pull/17378","tags":["x_refsource_MISC"]},{"url":"https://github.com/vllm-project/vllm/commit/99404f53c72965b41558aceb1bc2380875f5d848","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":5.58},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"vllm-project","affectedVersions":[{"vendor":"vllm-project","product":"vllm","versions":[">= 0.7.0, < 0.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-29T18:12:29.713264Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"vllm","vulnerableRanges":[">=0.7.0, <0.9.0","<0.9.0"],"patched":["0.9.0"],"from":["GHSA-c65p-x677-fgj6","PYSEC-2025-43"],"provenance":"source"}],"summary":{"text":"The MultiModalHasher class in vLLM's vllm/multimodal/hasher.py file, in versions from 0.7.0 before 0.9.0, hashes image objects using only their raw pixel bytes and omits metadata such as dimensions and mode. An attacker who can submit inputs to the serving engine could craft an image whose pixel bytes match another image of different dimensions, causing hash collisions that can lead to incorrect cache hits and possible data leakage, with the attack requiring low privileges, high attack complexity, and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:46Z"},"euvd":{"id":"EUVD-2025-16188","exploited":false,"provenance":"source"}}