Security mailing lists by PureSourceCode

CVE-2025-5472

MEDIUM 6.5CVSS 3.0

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.

Published
7 Jul 2025
Last modified
13 Jul 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-674
Also known as
GHSA-3wxx-q3gv-pvvvPYSEC-2025-251PYSEC-2026-1559
Sources
NVDJSONOSV GHSA-3wxx-q3gv-pvvvJSONOSV PYSEC-2025-251JSONOSV PYSEC-2026-1559JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@huntr.dev (Secondary) CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
>= 0.12.28, < 0.12.38 0.12.38
OSV PyPI llama-index-core < 0.12.38 0.12.38
OSV PyPI llama-index >= 0.12.28, < 0.12.38 0.12.38

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 Jul 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Jul 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.