{"id":"CVE-2025-6211","published":"2025-07-10T13:04:34Z","modified":"2025-07-10T15:13:12Z","title":"MD5 Hash Collision in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00361,"percentile":0.3064,"provenance":"source"},"cwes":[{"id":"CWE-440","name":"Expected Behavior Violation"}],"references":[{"url":"https://huntr.com/bounties/1a48a011-a3c5-4979-9ffc-9652280bc389","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/29b2e07e64ed7d302b1cc058185560b28eaa1352","tags":[]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":6.13},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.3.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-10T15:13:09.766316Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":["<0.12.41"],"patched":["0.12.41"],"from":["GHSA-5hq9-5r78-2gjh","PYSEC-2026-2606"],"provenance":"source"},{"ecosystem":"PyPI","package":"llama-index-readers-docugami","vulnerableRanges":["<0.3.1"],"patched":["0.3.1"],"from":["GHSA-5hq9-5r78-2gjh","PYSEC-2026-1566"],"provenance":"source"}],"summary":{"text":"The DocugamiReader class in the run-llama/llama_index repository, in versions up to 0.12.28, uses MD5 hashing to generate IDs for document chunks, so structurally distinct chunks with identical text can collide and overwrite one another. An attacker with network access and no privileges or user interaction could cause this overwriting, which can lose document content, break parent-child chunk hierarchies, and produce inaccurate AI responses.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:21Z"},"euvd":{"id":"EUVD-2025-20993","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-5472","published":"2025-07-07","fixed":"0.12.38","kev":false,"link":{"from":"CVE-2025-5472","to":"CVE-2025-6211","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index","fromFixed":"0.12.38","toFixed":"0.12.41","daysApart":3}]}},{"cve":"CVE-2025-3108","published":"2025-07-06","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6209","published":"2025-07-07","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6211","published":"2025-07-10","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-7707","published":"2025-10-13","fixed":"0.13.0","kev":false}],"package":"PyPI:llama-index"}}