CVE-2025-25183

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Maliciously constructed statements can lead to hash collisions, resulting in cache reuse, which can interfere with subsequent responses and cause unintended behavior. Prefix caching makes use of Python's built-in hash() function. As of Python 3.12, the behavior of hash(None) has changed to be a predictable constant value. This makes it more feasible that someone could try exploit hash collisions. The impact of a collision would be using cache that was generated using different content. Given knowledge of prompts in use and predictable hashing behavior, someone could intentionally populate the cache using a prompt known to collide with another prompt in use. This issue has been addressed in version 0.7.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*

History

01 Jul 2025, 20:58

Type Values Removed Values Added
CPE cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*
Summary
  • (es) vLLM es un motor de inferencia y servicio de alto rendimiento y uso eficiente de la memoria para LLM. Las declaraciones construidas de forma malintencionada pueden provocar colisiones de hash, lo que da como resultado la reutilización de la memoria caché, lo que puede interferir con las respuestas posteriores y provocar un comportamiento no deseado. El almacenamiento en caché de prefijos utiliza la función hash() incorporada de Python. A partir de Python 3.12, el comportamiento de hash(None) ha cambiado para ser un valor constante predecible. Esto hace que sea más factible que alguien pueda intentar explotar las colisiones de hash. El impacto de una colisión sería el uso de la memoria caché generada con un contenido diferente. Dado el conocimiento de los mensajes en uso y el comportamiento predecible del hash, alguien podría rellenar intencionalmente la memoria caché utilizando un mensaje que se sabe que colisiona con otro mensaje en uso. Este problema se ha solucionado en la versión 0.7.2 y se recomienda a todos los usuarios que actualicen. No existen workarounds para esta vulnerabilidad.
First Time Vllm
Vllm vllm
References () https://github.com/python/cpython/commit/432117cd1f59c76d97da2eaff55a7d758301dbc7 - () https://github.com/python/cpython/commit/432117cd1f59c76d97da2eaff55a7d758301dbc7 - Not Applicable
References () https://github.com/vllm-project/vllm/pull/12621 - () https://github.com/vllm-project/vllm/pull/12621 - Issue Tracking
References () https://github.com/vllm-project/vllm/security/advisories/GHSA-rm76-4mrf-v9r8 - () https://github.com/vllm-project/vllm/security/advisories/GHSA-rm76-4mrf-v9r8 - Vendor Advisory

07 Feb 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-07 20:15

Updated : 2025-07-01 20:58


NVD link : CVE-2025-25183

Mitre link : CVE-2025-25183

CVE.ORG link : CVE-2025-25183


JSON object : View

Products Affected

vllm

  • vllm
CWE
CWE-354

Improper Validation of Integrity Check Value