Open-source package vulnerability · PyPI
CVE-2024-27454: orjson does not limit recursion for deeply nested JSON documents
highCVSS 3.1 7.5GHSA-pwr2-4v36-6qpr
orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.
Published Feb 26, 2024 · Updated Mar 15, 2026
Affected packages
orjson
- Ecosystem
- PyPI
- Affected
- < 3.9.15
- Fixed in
- 3.9.15
- Check
pip show orjson
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-27454
- https://github.com/ijl/orjson/issues/458
- https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e
- https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3915
- https://monicz.dev/CVE-2024-27454
- https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml
- https://github.com/advisories/GHSA-pwr2-4v36-6qpr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
