ijl/orjson · Security
orjson does not limit recursion for deeply nested JSON documents
- GHSA ID
- GHSA-hx9q-6w63-j58v
- CVE ID
- CVE-2025-67221
- Severity
- high
- Published
- Updated
- CVSS v4
- 7.7 · 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
Description
The orjson.dumps function in orjson before 3.11.6 does not limit recursion for deeply nested JSON documents.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-67221 ↗
- https://github.com/ijl/orjson ↗
- https://github.com/kpatsakis/orjson_vulnerability ↗
- https://github.com/ijl/orjson/issues/620 ↗
- https://github.com/kpatsakis/CVE-2025-67221/issues/1 ↗
- https://github.com/ijl/orjson/commit/62bb185b70785ded49c79c26f8c9781f1e6fe370 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/orjson/PYSEC-2026-107.yaml ↗
- https://github.com/advisories/GHSA-hx9q-6w63-j58v ↗