# CVE-2024-27454: orjson does not limit recursion for deeply nested JSON documents

- Severity: High 7.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.20%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-26T00:00:00.000Z
- Modified: 2026-09-10T03:50:09.881Z
- Also known as: GHSA-pwr2-4v36-6qpr, PYSEC-2024-40
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

orjson.loads in orjson before 3.9.15 does not limit recursion for deeply nested JSON documents.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- orjson orjson: before 3.9.15
- orjson (PyPI): before 3.9.15; before b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e
- ijl orjson: before 3.9.15

## Every score

- mitre: CVSS:3.1 7.5 High `CVSS:3.1/AC:L/AV:N/A:H/C:N/I:N/PR:N/S:U/UI:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ijl/orjson/issues/458> (exploit, issue-tracking, report, web)
- <https://github.com/ijl/orjson/commit/b0e4d2c06ce06c6e63981bf0276e4b7c74e5845e> (fix, patch, web)
- <https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3915> (release-notes, web)
- <https://monicz.dev/CVE-2024-27454> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27454> (advisory)
- <https://github.com/ijl/orjson> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2024-40.yaml> (web)
- <https://github.com/advisories/GHSA-pwr2-4v36-6qpr> (advisory)

## Sources

- CVE List: [CVE-2024-27454](https://www.cve.org/CVERecord?id=CVE-2024-27454), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-pwr2-4v36-6qpr](https://github.com/advisories/GHSA-pwr2-4v36-6qpr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-27454](https://nvd.nist.gov/vuln/detail/CVE-2024-27454), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-40](https://osv.dev/vulnerability/PYSEC-2024-40), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-27454 · Whole record: https://cve.day/CVE-2024-27454.json · Rebuilt by cve.day 2026-11-25T22:58:37.062Z
