Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index-readers-docugami
  4. ›
  5. CVE-2025-6211

CVE-2025-6211: LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class

July 10, 2025

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.

References

  • github.com/advisories/GHSA-5hq9-5r78-2gjh
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/commit/29b2e07e64ed7d302b1cc058185560b28eaa1352
  • huntr.com/bounties/1a48a011-a3c5-4979-9ffc-9652280bc389
  • nvd.nist.gov/vuln/detail/CVE-2025-6211

Code Behaviors & Features

Detect and mitigate CVE-2025-6211 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.1

Fixed versions

  • 0.3.1

Solution

Upgrade to version 0.3.1 or above.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-440: Expected Behavior Violation

Source file

pypi/llama-index-readers-docugami/CVE-2025-6211.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:06 +0000.