CVE-2025-25183
published low CVSS 3.1 · 2.6vLLM using built-in hash() from Python 3.12 leads to predictable hash collisions in vLLM prefix cache
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vllm-project | — | vllm< 0.7.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vllm-project | vllm | < 0.7.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-354 CWE-354: Improper Validation of Integrity Check Value
References
3Provider assertions
2GitHub_M · cna
vLLM using built-in hash() from Python 3.12 leads to predictable hash collisions in vLLM prefix cache
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 29ed7f9a5da79e12b5d218136d55c4adca9880eb230b545942c81ee703bfc448
- Ingested
- 23 Sep 2026, 08:41:57 UTC
- Source record
- Official CVE record