CVE-2025-25183
vLLM using built-in hash() from Python 3.12 leads to predictable hash collisions in vLLM prefix cache
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 0.7.2 | vllm · -1 d desde divulgación | |
| Divulgación | Publicada | CVE-2025-25183 divulgada · CVSS 2.6 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypivllm |
Corregida | 0.7.2 | -1 d | 0.33.0 no afectada |
0.7.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/vllm-project/vllm/security/advisories/GHSA-rm76-4mrf-v9r8https://github.com/vllm-project/vllm/pull/12621https://github.com/python/cpython/commit/432117cd1f59c76d97da2eaff55a7d758301dbc7Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
