CVE-2025-25183

Low

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.

SeverityLow
CVSS2.6
Exploit probability—
ProductVllm
PublishedFeb 7, 2025
First seenFeb 7, 2025
Weakness typeCWE-354CWE-354

How to fix

Update
  • vllm vllm0.7.2 or later
  • vllm0.7.2 or later

Affected products

ProductAffected versionsFixed in
vllm vllmv < 0.7.20.7.2
vllmPyPIv < 0.7.20.7.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.