{"id":"CVE-2025-5472","aliases":["CVE-2025-5472","GHSA-3wxx-q3gv-pvvv","PYSEC-2025-251","PYSEC-2026-1559"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"JSONReader en run-llama/llama_index, versión 0.12.28, es vulnerable a un desbordamiento de pila debido al análisis recursivo incontrolado de JSON. Esta vulnerabilidad permite a los atacantes activar una denegación de servicio (DoS) al enviar estructuras JSON profundamente anidadas, lo que genera un error de recursión (RecursionError) y bloquea las aplicaciones. La causa principal es el diseño inseguro del recorrido recursivo y la falta de validación de profundidad, lo que hace que el JSONReader sea susceptible a un desbordamiento de pila al procesar JSON profundamente anidado. Esto afecta la disponibilidad de los servicios, haciéndolos poco fiables e interrumpiendo los flujos de trabajo. El problema se ha resuelto en la versión 0.12.38.","source":"nvd"}],"published":"2025-07-07T09:55:56.730Z","modified":"2026-07-13T07:26:37.515Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.12.38","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.38"}],"ecosystem":"PyPI","package":"llama-index-core","purl":"pkg:pypi/llama-index-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.12.28","fixed":"0.12.38"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.12.28","status":"affected","fixed":"0.12.38"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.12.38"}],"ecosystem":"PyPI","package":"llama-index-core","purl":"pkg:pypi/llama-index-core","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/df187bda-7911-4823-a19a-e15b2c66b0d4","tags":["evidence","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5472","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index-core","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-3wxx-q3gv-pvvv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-07-07T11:17:19.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5472","url":"https://www.cve.org/CVERecord?id=CVE-2025-5472","licence":"CVE Terms of Use","modified":"2025-07-07T11:23:35.709Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3wxx-q3gv-pvvv","url":"https://github.com/advisories/GHSA-3wxx-q3gv-pvvv","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:37.515Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5472","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5472","licence":"Public domain","modified":"2026-06-17T09:47:59.190Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-251","url":"https://osv.dev/vulnerability/PYSEC-2025-251","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:37.515Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1559","url":"https://osv.dev/vulnerability/PYSEC-2026-1559","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:37.515Z"}],"updatedAt":"2026-11-25T22:59:00.718Z","epss":{"score":0.00388,"percentile":0.3505,"date":"2026-12-01T12:00:22.000Z"}}