Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. vllm
  4. ›
  5. CVE-2025-25183

CVE-2025-25183: vLLM uses Python 3.12 built-in hash() which leads to predictable hash collisions in prefix cache

February 6, 2025 (updated February 10, 2025)

Maliciously constructed prompts can lead to hash collisions, resulting in prefix cache reuse, which can interfere with subsequent responses and cause unintended behavior.

References

  • github.com/advisories/GHSA-rm76-4mrf-v9r8
  • github.com/python/cpython/commit/432117cd1f59c76d97da2eaff55a7d758301dbc7
  • github.com/python/cpython/pull/99541
  • github.com/vllm-project/vllm
  • github.com/vllm-project/vllm/commit/73b35cca7f3745d07d439c197768b25d88b6ab7f
  • github.com/vllm-project/vllm/pull/12621
  • github.com/vllm-project/vllm/security/advisories/GHSA-rm76-4mrf-v9r8
  • nvd.nist.gov/vuln/detail/CVE-2025-25183

Code Behaviors & Features

Detect and mitigate CVE-2025-25183 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.7.2

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Impact 2.6 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-354: Improper Validation of Integrity Check Value

Source file

pypi/vllm/CVE-2025-25183.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.