LlamaIndexGHSA-5hq9-5r78-2gjh
LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class
Medium6.5CVE-2025-6211 · Published Jul 10, 2025 · updated Sep 10, 2026
A vulnerability in the DocugamiReader class of the run-llama/llama_index repository, up to but excluding version 0.12.41, 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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| llama-index PyPI | < 0.12.41 | 0.12.41 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-440
- Also known as
- CVE-2025-6211, PYSEC-2026-1566, PYSEC-2026-2606
More LlamaIndex advisories
All LlamaIndex| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 72025 | LlamaIndex vulnerable to Path Traversal attack through its encode_image function | High7.5 | 0.12.41 |
| Jul 72025 | LlamaIndex vulnerable to DoS attack through uncontrolled recursive JSON parsing | Medium6.5 | 0.12.38 |
| Jul 72025 | LlamaIndex: path traversal | Medium6.2 | 0.5.2 |
| Jul 72025 | LlamaIndex: denial of service | High7.5 | 0.12.29 |
| Jul 72025 | A vulnerability in the ArxivReader class of the run-llama/llama_index repository | Medium5.3 | 0.12.28 |
| Jul 72025 | LlamaIndex: arbitrary file read | High7.5 | 0.12.28 |