{"id":"CVE-2025-5472","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-5472","generatedAt":"2026-10-27T23:57:47.874Z","title":"The JSONReader in run-llama/llama_index versions 0.12.28 is vulnerable to a stack overflow due to uncontrolled recursive JSON parsing.","description":"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.","published":"2025-07-07T10:15:29.000Z","lastModified":"2026-06-17T09:47:59.000Z","status":"Analyzed","sourceIdentifier":"security@huntr.dev","cvss":{"version":"3.0","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"cwe":["CWE-674"],"affected":["llamaindex/llamaindex"],"epss":{"score":0.00388,"percentile":0.32665,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.39%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/run-llama/llama_index/commit/c032843a02ce38fd8f284b2aa5a37fd1c17ae635","tags":["Patch"],"source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/df187bda-7911-4823-a19a-e15b2c66b0d4","tags":["Exploit","Third Party Advisory"],"source":"security@huntr.dev"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-5472","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}