Advisory

GHSA-hx9q-6w63-j58v

Also known as: CVE-2025-67221, PYSEC-2026-107

Summary

orjson does not limit recursion for deeply nested JSON documents

Details

The orjson.dumps function in orjson before 3.11.6 does not limit recursion for deeply nested JSON documents.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-22 18:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

orjson

PyPI · All systems

Affected

  • introduced 0, fixed 3.11.6 (ecosystem)

Fixed versions

3.11.6

Fix

  • Fixed version 3.11.6
    pip install --upgrade orjson==3.11.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences