Vulnerabilities · 2025 · Llamaindex
CVE-2025-6211
Llamaindex vulnerability
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.
Affected products
Llamaindex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Llamaindex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/run-llama/llama_index/commit/29b2e07e64ed7d302b1cc058185560b28eaa1352 · Patch
- huntr.com/bounties/1a48a011-a3c5-4979-9ffc-9652280bc389 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-6211
- github.com/advisories/GHSA-5hq9-5r78-2gjh
- nvd.nist.gov/vuln/detail/CVE-2025-6211
- cve.org/CVERecord?id=CVE-2025-6211
More vulnerabilities in Llamaindex products
CVE-2025-7707CVE-2025-6210CVE-2025-6209CVE-2025-5472CVE-2025-3225CVE-2025-3108CVE-2025-3046CVE-2025-3044All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.