{"id":"CVE-2025-3225","state":"PUBLISHED","title":"XML Entity Expansion vulnerability in run-llama/llama_index","description":"An XML Entity Expansion vulnerability, also known as a 'billion laughs' attack, exists in the sitemap parser of the run-llama/llama_index repository, specifically affecting version v0.12.21. This vulnerability allows an attacker to supply a malicious Sitemap XML, leading to a Denial of Service (DoS) by exhausting system memory and potentially causing a system crash. The issue is resolved in version v0.12.29.","publishedAt":"2025-07-07T09:54:06.033Z","updatedAt":"2025-07-07T14:59:26.842Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["run-llama run-llama/llama_index"],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"v0.12.29","versionType":"custom"}]}],"references":["https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2","https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584"],"weaknesses":["CWE-776"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3225.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-3225","state":"PUBLISHED","datePublished":"2025-07-07T09:54:06.033Z","dateUpdated":"2025-07-07T14:59:26.842Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2025-04-03T15:03:26.975Z"},"containers":{"cna":{"title":"XML Entity Expansion vulnerability in run-llama/llama_index","descriptions":[{"lang":"en","value":"An XML Entity Expansion vulnerability, also known as a 'billion laughs' attack, exists in the sitemap parser of the run-llama/llama_index repository, specifically affecting version v0.12.21. This vulnerability allows an attacker to supply a malicious Sitemap XML, leading to a Denial of Service (DoS) by exhausting system memory and potentially causing a system crash. The issue is resolved in version v0.12.29."}],"affected":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","status":"affected","lessThan":"v0.12.29","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/e33c0699-e9a2-49aa-837b-5363205637a2"},{"url":"https://github.com/run-llama/llama_index/commit/4f6ee062b19212106a2632af9c9521fc7f0a3584"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-776","type":"CWE","lang":"en","description":"CWE-776 Improper Restriction of Recursive Entity References in DTDs"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-07-07T09:56:23.672Z"},"source":{"advisory":"e33c0699-e9a2-49aa-837b-5363205637a2","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-07T14:54:59.585565Z","id":"CVE-2025-3225","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-07T14:59:26.842Z"}}]}}}