Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. orjson
  4. ›
  5. CVE-2025-67221

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

January 22, 2026 (updated January 23, 2026)

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

References

  • github.com/advisories/GHSA-hx9q-6w63-j58v
  • github.com/ijl/orjson
  • github.com/ijl/orjson/issues/620
  • github.com/kpatsakis/CVE-2025-67221/issues/1
  • github.com/kpatsakis/orjson_vulnerability
  • nvd.nist.gov/vuln/detail/CVE-2025-67221

Code Behaviors & Features

Detect and mitigate CVE-2025-67221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.11.4

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/orjson/CVE-2025-67221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:35 +0000.