{"id":"CVE-2025-5302","published":"2025-08-25T15:03:18Z","modified":"2025-08-25T15:41:08Z","title":"Denial of Service (DOS) in JSONReader in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37. The vulnerability is caused by uncontrolled recursion when parsing deeply nested JSON files, which can lead to Python hitting its maximum recursion depth limit. This results in high resource consumption and potential crashes of the Python process. The issue is resolved in version 0.12.38.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00302,"percentile":0.23573,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://huntr.com/bounties/70041b81-de9e-4046-8c0e-6ccd557048a6","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635","tags":[]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":4.71},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < 0.12.38"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-25T15:40:17.719250Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-core","vulnerableRanges":["<0.12.38"],"patched":["0.12.38"],"from":["GHSA-7753-xrfw-ch36","PYSEC-2026-1561"],"provenance":"source"}],"summary":{"text":"The JSONReader component of the run-llama/llama_index product is vulnerable to uncontrolled recursion when parsing deeply nested JSON, which can exhaust Python's recursion depth and cause high resource consumption or a crash of the Python process. An attacker with network access can trigger this by supplying a crafted deeply nested JSON file, requiring no authentication and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:12Z"},"euvd":{"id":"EUVD-2025-25708","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-3271","published":"2024-04-16","fixed":"0.10.24","kev":false},{"cve":"CVE-2024-45201","published":"2024-08-22","fixed":"0.10.38","kev":false},{"cve":"CVE-2024-12704","published":"2025-03-20","fixed":"0.12.6","kev":false,"link":{"from":"CVE-2024-12704","to":"CVE-2025-5302","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-core","fromFixed":"0.12.6","toFixed":"0.12.38","daysApart":158}]}},{"cve":"CVE-2025-5302","published":"2025-08-25","fixed":"0.12.38","kev":false},{"cve":"CVE-2025-5472","published":"2025-07-07","fixed":"0.12.38","kev":false},{"cve":"CVE-2025-3108","published":"2025-07-06","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6208","published":"2026-02-02","fixed":"0.12.41","kev":false,"link":{"from":"CVE-2025-5302","to":"CVE-2025-6208","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-core","fromFixed":"0.12.38","toFixed":"0.12.41","daysApart":161}]}}],"package":"PyPI:llama-index-core"}}