LlamaIndex vulnerable to DoS attack through uncontrolled recursive JSON parsing
The JSONReader in run-llama/llama_index versions 0.12.28 is vulnerable to a stack overflow due to uncontrolled recursive JSON parsing. This vulnerability allows attackers to trigger a Denial of Service (DoS) by submitting deeply nested JSON structures, leading to a RecursionError and crashing applications. The root cause is the unsafe recursive traversal design and lack of depth validation, which makes the JSONReader susceptible to stack overflow when processing deeply nested JSON. This impacts the availability of services, making them unreliable and disrupting workflows. The issue is resolved in version 0.12.38.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | llama-index | >= 0.12.28, < 0.12.38 | 0.12.38 |
| Python (PyPI) | llama-index-core | < 0.12.38 | 0.12.38 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2025-5472
- https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635
- https://github.com/run-llama/llama_index
- https://huntr.com/bounties/df187bda-7911-4823-a19a-e15b2c66b0d4
- https://pypi.org/project/llama-index-core
- https://github.com/advisories/GHSA-3wxx-q3gv-pvvv
- CVSS-Vektor
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-674- Plattform
- Python (PyPI)
- Paket
llama-index, llama-index-core- Veröffentlicht
- 07.07.2025
- Aktualisiert
- 11.10.2026 14:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2025-251 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-3wxx-q3gv-pvvv - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1559 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: llama-index
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 22
- Erste → letzte
- 08.2023 01.2026
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 5
- Hoch 11
- Mittel 6
Veröffentlichungen pro Jahr
- 2023: 1
- 2024: 3
- 2025: 16
- 2026: 2
-
LlamaIndex vulnerable to DoS attack through uncontrolled recursive JSON parsing dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.