CVE-2025-6211 in Llamaindex
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....
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Llamaindex | Llamaindex | < 0.3.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6211 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-038023-M |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| Published | 2025-07-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-440: CWE-440
Analysis AI-written, not human-reviewed
A vulnerability in the DocugamiReader class of the run-llama/llama_index repository up to version 0.12.28 uses MD5 hashing for document chunk IDs, leading to hash collisions and potential loss of important document content.
The vulnerability arises from the use of MD5 hashing to generate IDs for document chunks. Since MD5 is not collision-resistant, structurally distinct chunks with identical text can produce the same hash, causing one chunk to overwrite another.
Questions
What is CVE-2025-6211?
A vulnerability in the DocugamiReader class of the run-llama/llama_index repository up to version 0.12.28 uses MD5 hashing for document chunk IDs, leading to hash collisions and potential loss of important document content.
What is the CVSS score for CVE-2025-6211?
CVE-2025-6211 has CVSS 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L. EPSS: 0.6%.
Is CVE-2025-6211 actively exploited?
No confirmed active exploitation of CVE-2025-6211 as of 2026-09-25.
How do I remediate CVE-2025-6211?
Priority: MEDIUM.
What systems are affected by CVE-2025-6211?
CVE-2025-6211 affects Llamaindex Llamaindex.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Llamaindex","product":"Llamaindex","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.