Security mailing lists by PureSourceCode

CVE-2025-6211

MEDIUM 6.5CVSS 3.0

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

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.

Published
10 Jul 2025
Last modified
10 Sep 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-440
Also known as
GHSA-5hq9-5r78-2gjhPYSEC-2026-1566PYSEC-2026-2606
Sources
NVDJSONOSV GHSA-5hq9-5r78-2gjhJSONOSV PYSEC-2026-1566JSONOSV PYSEC-2026-2606JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
OSV PyPA CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
< 0.3.1 0.3.1
OSV PyPI llama-index < 0.12.41 0.12.41
OSV PyPI llama-index-readers-docugami < 0.3.1 0.3.1

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.