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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | llama-index | >= 0.12.28, < 0.12.38 | 0.12.38 |
| Python (PyPI) | llama-index-core | < 0.12.38 | 0.12.38 |
Referencias
- 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
- Vector CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H- Debilidad (CWE)
CWE-674- Plataforma
- Python (PyPI)
- Paquete
llama-index, llama-index-core- Publicada
- 07.07.2025
- Actualizado
- 11.10.2026 14:17
Fuentes y licencias
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
Historial de vulnerabilidades: llama-index
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 22
- Primera → última
- 08.2023 01.2026
- Sin corrección
- 2
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 5
- Alta 11
- Media 6
Divulgaciones por año
- 2023: 1
- 2024: 3
- 2025: 16
- 2026: 2
-
LlamaIndex vulnerable to DoS attack through uncontrolled recursive JSON parsing esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.