# CVE-2025-67221: orjson does not limit recursion for deeply nested JSON documents

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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): 0.65%, higher than 46% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-22T00:00:00.000Z
- Modified: 2026-09-10T03:50:33.258Z
- Also known as: GHSA-hx9q-6w63-j58v, PYSEC-2026-107
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

The orjson.dumps function in orjson thru 3.11.4 does not limit recursion for deeply nested JSON documents.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- orjson (PyPI): before 3.11.6; before 3.11.5
- ijl orjson: up to 3.11.4

## Every score

- CISA-ADP: 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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: 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/kpatsakis/orjson_vulnerability> (exploit, evidence, third-party-advisory, web)
- <https://github.com/ijl/orjson> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67221> (advisory)
- <https://github.com/ijl/orjson/issues/620> (web)
- <https://github.com/kpatsakis/CVE-2025-67221/issues/1> (web)
- <https://github.com/ijl/orjson/commit/62bb185b70785ded49c79c26f8c9781f1e6fe370> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2026-107.yaml> (web)
- <https://github.com/advisories/GHSA-hx9q-6w63-j58v> (advisory)

## Sources

- CVE List: [CVE-2025-67221](https://www.cve.org/CVERecord?id=CVE-2025-67221), CVE Terms of Use, modified 2026-01-22
- GitHub Advisory Database: [GHSA-hx9q-6w63-j58v](https://github.com/advisories/GHSA-hx9q-6w63-j58v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-67221](https://nvd.nist.gov/vuln/detail/CVE-2025-67221), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-107](https://osv.dev/vulnerability/PYSEC-2026-107), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-67221 · Whole record: https://cve.day/CVE-2025-67221.json · Rebuilt by cve.day 2026-11-25T22:59:10.777Z
