Install
orjson
Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
3.13.0Latest, 7 Oct 2026
232MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MPL-2.0 AND (Apache-2...Licence
8.3KStars
4.2/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | orjson does not limit recursion for deeply nested JSON documents CVE-2025-67221 | Fixed in 3.11.6 | 22 Jan 2026 |
| PYSEC-2026-107 CVE-2025-67221 | Fixed in 3.11.5 | 22 Jan 2026 | |
| High | orjson does not limit recursion for deeply nested JSON documents CVE-2024-27454 | Fixed in 3.9.15 | 26 Feb 2024 |
| PYSEC-2024-40 CVE-2024-27454 | Fixed in 3.9.15 | 26 Feb 2024 |
In the news
- Dynamic Configuration Validation to Prevent Crash-Looping on Missing Environment Variables: A Pydantic v2 & orjson Post-Mortem dev.to, 28 Nov 2026
- Preventing Silent Container Crash Loops: A Fail-Fast Configuration Validator for Docker Using Pydantic v2 and orjson dev.to, 27 Nov 2026
- Implementing Automated Secret Masking in Structured Python Logs with Pydantic v2 and orjson dev.to, 25 Nov 2026
- Turbocharging Flask: High-Performance Serialization with orjson dev.to, 20 Jan 2026
- How to read the request body using orjson library in FastAPI? stackoverflow.com, 3 Dec 2024
On Hacker News
- JSON extra uses orjson instead of ujson (2019) 69 points, 16 comments, 5 Jun 2024
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.