CVE-2025-46722

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-46722
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46722.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-46722
Aliases
Related
Published
2025-05-29T16:36:12Z
Modified
2025-10-22T18:46:34.614886Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
vLLM has a Weakness in MultiModalHasher Image Hashing Implementation
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-1023",
        "CWE-1288"
    ]
}
References

Affected packages

Git / github.com/vllm-project/vllm

Affected ranges

Type
GIT
Repo
https://github.com/vllm-project/vllm
Events

Affected versions

v0.*

v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.8.0rc1
v0.8.0rc2
v0.8.1
v0.8.2
v0.8.3rc1
v0.8.4