ADVISORIES

Vulnerability

CVE-2025-6211

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.

4 advisories report this vulnerability, across 2 ecosystems.

Medium severity All PyPI 3Chainguard 1

Advisories

  • CGA-g23j-88j5-7x39
    CVE-2025-6211 Chainguard Updated 5 November 2026
  • GHSA-5hq9-5r78-2gjh

    LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class

    Moderate CVE-2025-6211 PyPI Updated 10 September 2026
  • PYSEC-2026-1566

    LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class

    CVE-2025-6211 PyPI Updated 13 July 2026
  • PYSEC-2026-2606

    LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class

    CVE-2025-6211 PyPI Updated 13 July 2026

References