CVE-2025-6211CWE-440

MD5 Hash Collision in run-llama/llama_index

Medium · published July 10, 2025

CVSS v3.0
6.5
EPSS
0%
Percentile
28.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00361 · 28.7th percentile
Weakness
CWE-440 · Expected Behavior Violation
Published
2025-07-10T13:04Z
EPSS history
Timeline
  • 10 JUL 13:04Z
    MD5 Hash Collision in run-llama/llama_index
    cvelistv5