Skip to content
LowVulnerabilityLLM-specific

CVE-2025-25183: vLLM prefix caching hash collisions can reuse cache from other prompts

Identifier
CVE-2025-25183
Published
Record updated
View JSON
Affected
  • vllm < 0.7.2
Fixed in
0.7.2
  • released February 6, 2025, 2 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2025-25183 affects vLLM, a high-throughput inference and serving engine for LLMs. Maliciously constructed statements can cause hash collisions in prefix caching, which relies on Python's built-in hash() function, so cached content generated from different prompts can be reused and interfere with later responses. Because hash(None) became a predictable constant in Python 3.12, an attacker who knows the prompts in use could populate the cache with a colliding prompt.

Mitigation

Fixed in version 0.7.2; all users are advised to upgrade. There are no known workarounds for this vulnerability.