CVE-2025-6211 Details
Description
A vulnerability in the DocugamiReader class of the run-llama/llama_index repository, up to version 0.12.28, involves the use of MD5 hashing to generate IDs for document chunks. This approach leads to hash collisions when structurally distinct chunks contain identical text, resulting in one chunk overwriting another. This can cause loss of semantically or legally important document content, breakage of parent-child chunk hierarchies, and inaccurate or hallucinated responses in AI outputs. The issue is resolved in version 0.3.1.
A hash collision vulnerability has been identified in the DocugamiReader class of the run-llama/llama_index repository, affecting versions prior to 0.12.28. The vulnerability arises from using MD5 hashing to generate IDs for document chunks, leading to collisions when structurally distinct chunks contain identical text. This flaw allows one chunk to overwrite another, causing the loss of semantically or legally important content, disrupting parent-child chunk hierarchies, and generating inaccurate or hallucinated responses in AI outputs.
Users can upgrade to version 0.3.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://huntr.com/bounties/1a48a011-a3c5-4979-9ffc-9652280bc389 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/run-llama/llama_index/commit/29b2e07e64ed7d302b1cc058185560b28eaa1352 | [email protected] | Patch |
| https://huntr.com/bounties/1a48a011-a3c5-4979-9ffc-9652280bc389 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-440 | Expected Behavior Violation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| llamaindex llamaindex | < 0.3.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | Initial Analysis | [email protected] |
| Jul 10, 2025 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | New CVE Received | [email protected] |