GitHub Advisoryadvisory · PyPI
GHSA-hx9q-6w63-j58v orjson does not limit recursion for deeply nested JSON documents
HIGH
Official page ↗
- Aliases
- CVE-2025-67221
- Ecosystem
- PyPI
- Packages
- orjson
- Severity
- High
- CVSS vector
- 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
- Weaknesses
- CWE-770
- Reviewed
- 2026-01-22
Affected packages
• PyPI orjson: < 3.11.6 → fixed in 3.11.6
Description
The orjson.dumps function in orjson before 3.11.6 does not limit recursion for deeply nested JSON documents.
Related
Alias · CVE (1)
- CVE-2025-67221 The orjson.dumps function in orjson thru 3.11.4 does not limit recursion for deeply nested JSON documents. vulnerability
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- 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/ijl/orjson package
- https://github.com/kpatsakis/orjson_vulnerability web
- https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2026-107.yaml web