LMCache up to 0.5.4 KV Cache utils.py hex_hash_to_int16 weak hash
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in LMCache up to 0.5.4. It has been classified as problematic. This vulnerability affects the function hex_hash_to_int16 of the file lmcache/integration/vllm/utils.py of the component KV Cache Handler. The manipulation leads to weak hash.
This vulnerability is documented as CVE-2026-10813. The attack needs to be performed locally. Additionally, an exploit exists.
Upgrading the affected component is recommended.
A contributor of the project confirms: "hex_hash_to_int16() was introduced in 0.3.1 (PR #882, commit f5174701). It is not present in 0.3.0, and it is still present in 0.4.7 through 0.5.4."
Details
A vulnerability was found in LMCache up to 0.5.4. It has been rated as problematic. This issue affects the function hex_hash_to_int16 of the file lmcache/integration/vllm/utils.py of the component KV Cache Handler. The manipulation with an unknown input leads to a weak hash vulnerability. Using CWE to declare the problem leads to CWE-328. The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack). Impacted is integrity, and availability.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-10813. The exploitation is known to be difficult. An attack has to be approached locally. Technical details as well as a public exploit are known. MITRE ATT&CK project uses the attack technique T1600.001 for this issue.
The exploit is available at github.com. It is declared as proof-of-concept. A contributor of the project confirms: "hex_hash_to_int16() was introduced in 0.3.1 (PR #882, commit f5174701). It is not present in 0.3.0, and it is still present in 0.4.7 through 0.5.4."
Upgrading to version 0.5.5 eliminates this vulnerability. The upgrade is hosted for download at pypi.org. Applying the patch ce08eea76ce5898200efee55f4932fd07a7cabeb is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-34290). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
License
Website
- Product: https://github.com/LMCache/LMCache/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.6VulDB Meta Temp Score: 3.3
VulDB Base Score: 3.6
VulDB Temp Score: 3.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Weak hashCWE: CWE-328 / CWE-327 / CWE-310
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: LMCache 0.5.5
Patch: ce08eea76ce5898200efee55f4932fd07a7cabeb
Timeline
06/04/2026 Advisory disclosed06/04/2026 VulDB entry created
10/17/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 3301/GHSA-3hh9-752g-5g22
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-10813 (🔒)
GCVE (CVE): GCVE-0-2026-10813
GCVE (VulDB): GCVE-100-368261
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 06/04/2026 07:39Updated: 10/17/2026 08:23
Changes: 06/04/2026 07:39 (58), 06/04/2026 21:15 (1), 10/17/2026 08:23 (15)
Complete: 🔍
Submitter: Dem00
Cache ID: 216::103
Submit
Accepted
- Submit #831641: LMCache 729ff73 Cache poisoning (by Dem00)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
1. Fixed version: LMCache 0.5.5 (https://pypi.org/project/lmcache/0.5.5/, released 2026-09-12).
Fix: https://github.com/LMCache/LMCache/pull/4783 (merged 2026-09-05, commit ce08eea7). It removes hex_hash_to_int16() and replaces each multimodal placeholder position with a distinct 31-bit value derived from the full identifier via SHA-256.
The referenced PR #2932 was closed without being merged, so "The pull request to fix this issue awaits acceptance" is no longer accurate.
2. Affected versions: 0.3.1 up to and including 0.5.4, not "up to 0.4.6".
hex_hash_to_int16() was introduced in 0.3.1 (PR #882, commit f5174701). It is not present in 0.3.0, and it is still present in 0.4.7 through 0.5.4.
3. Countermeasure: upgrade to LMCache 0.5.5 or later. If upgrading is not possible, disable LMCache for multimodal requests.
Additional references:
- https://github.com/LMCache/LMCache/pull/4783
- https://github.com/LMCache/LMCache/issues/4086 (duplicate report of the same issue)
A matching correction has also been submitted to the GitHub Advisory Database (GHSA-3hh9-752g-5g22).
I'm an LMCache contributor and the author of the fix.
Interested in the pricing of exploits?
See the underground prices here!