Security mailing lists by PureSourceCode

CVE-2025-25183

LOW 2.6CVSS 3.1

vLLM uses Python 3.12 built-in hash() which leads to predictable hash collisions in prefix cache

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.

Published
7 Feb 2025
Last modified
7 Aug 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-354
Also known as
GHSA-rm76-4mrf-v9r8PYSEC-2025-62
Sources
NVDJSONOSV GHSA-rm76-4mrf-v9r8JSONOSV PYSEC-2025-62JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vllm vllm
cpe:2.3:a:vllm:vllm:*:*:*:*:*:*:*:*
< 0.7.2 0.7.2
OSV PyPI vllm < 0.7.2 0.7.2

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 7 Feb 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Feb 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Feb 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.