CVE-2025-3225: run-llama/llama_index · Improper Restriction of Recursive Entity References in DTDs
Affects run-llama/llama_indexSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.12.29 soon.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.12.29
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade run-llama/llama_index to 0.12.29.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubrun-llama/llama_indexpkg:github/run-llama/llama_indexOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should promptly upgrade the run-llama/llama_index library to version v0.12.29 or later, where the vulnerability is patched. In addition to upgrading, organizations should implement strict input validation and XML parsing controls to mitigate similar XML Entity Expansion attacks. This includes configuring XML parsers to disable DTD processing or recursive entity expansion where possible. Employing XML parsing libraries that support secure processing features (e.g., secure XML parsers with entity expansion limits) is recommended. Network-level protections such as Web Application Firewalls (WAFs) can be configured to detect and block suspicious XML payloads exhibiting entity expansion patterns. Monitoring application logs for abnormal memory usage or parsing errors related to XML inputs can provide early detection of attempted exploitation. For critical systems, consider sandboxing XML processing components to limit the impact of potential DoS attacks. Finally, maintain an inventory of software dependencies to ensure timely patching and vulnerability management.
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.