CVE-2025-6211

MD5 Hash Collision in run-llama/llama_index

State
Published
Severity
6.5 Medium
Published
Jul 10, 2025
Updated
Jul 10, 2025
Reserved
Jun 17, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.5 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L@huntr_ai

Weaknesses

  • CWE-440 Expected Behavior Violation

Affected Products

ProductVersions
run-llama/llama_indexrun-llama
  • before 0.3.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.