ujson
Affected
- introduced
0, fixed5.13.0(ecosystem)
Fixed versions
5.13.0
Fix
- Fixed version
5.13.0pip install --upgrade ujson==5.13.0
Advisory
Also known as: CVE-2026-54911, GHSA-3j69-69wj-xqx2
The record has no summary.
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.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
0, fixed 5.13.0 (ecosystem)5.13.0
5.13.0pip install --upgrade ujson==5.13.0Fix 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
Source: PyPA Advisory Database · CC BY 4.0