logo

CVE-2025-6211 llama-index

Package

Manager: pip
Name: llama-index
Vulnerable Version: >=0 <0.12.41

Severity

Level: Medium

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00066 pctl0.20812

Details

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 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.

Metadata

Created: 2025-07-10T15:31:27Z
Modified: 2025-07-10T18:45:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-5hq9-5r78-2gjh/GHSA-5hq9-5r78-2gjh.json
CWE IDs: ["CWE-440"]
Alternative ID: GHSA-5hq9-5r78-2gjh
Finding: F014
Auto approve: 1