orjson does not limit recursion for deeply nested JSON documents
The orjson.dumps function in orjson before 3.11.6 does not limit recursion for deeply nested JSON documents.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | orjson | < 3.11.6 | 3.11.6 |
References
- https://github.com/ijl/orjson
- https://github.com/kpatsakis/orjson_vulnerability
- https://github.com/advisories/GHSA-hx9q-6w63-j58v
- https://nvd.nist.gov/vuln/detail/CVE-2025-67221
- 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
- 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- Weakness (CWE)
CWE-770- Platform
- Python (PyPI)
- Package
orjson- Disclosed
- 22.01.2026
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-107 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-hx9q-6w63-j58v - CC BY 4.0
Vulnerability history: orjson
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 02.2024 01.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2024: 1
- 2025: 0
- 2026: 1
-
orjson does not limit recursion for deeply nested JSON documents this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.