CVE-2026-54911
Description
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.13.0, ujson.dumps() (or ujson.dump() or ujson.encode()) have a reject_bytes=False option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues. This vulnerability is fixed in 5.13.0.
How to fix
- ultrajson_project ultrajson5.13.0 or later
- ujson5.13.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ultrajson_project ultrajson | v < 5.13.0 | 5.13.0 |
| ujsonPyPI | v < 5.13.0 | 5.13.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.