CVE-2025-67221
HIGH 7.5CVSS 3.1orjson does not limit recursion for deeply nested JSON documents
The orjson.dumps function in orjson thru 3.11.4 does not limit recursion for deeply nested JSON documents.
- Published
- 22 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-hx9q-6w63-j58vPYSEC-2026-107
- Sources
- NVDJSONOSV GHSA-hx9q-6w63-j58vJSONOSV PYSEC-2026-107JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ijl | orjsoncpe:2.3:a:ijl:orjson:*:*:*:*:*:python:*:* |
<= 3.11.4 | |
| OSV | PyPI | orjson | < 3.11.6 | 3.11.6 |
| OSV | PyPI | orjson | < 3.11.5 | 3.11.5 |
References
- https://github.com/ijl/orjson · Product, PACKAGE
- https://github.com/kpatsakis/orjson_vulnerability · Exploit, Third Party Advisory, WEB, EVIDENCE
- 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jan 2026)