Input Validation Issue in UltraJSON by UltraJSON
CVE-2026-54911
6.5MEDIUM
What is CVE-2026-54911?
Prior to version 5.13.0, UltraJSON, a JSON encoder and decoder, had an input validation flaw that allowed the functions ujson.dumps(), ujson.dump(), and ujson.encode() to accept malformed or truncated UTF-8 byte sequences when the reject_bytes option was set to False. This oversight resulted in the silent rewriting of such sequences into different Unicode characters, posing risks to data integrity and allowing for input validation bypass. Users are strongly advised to upgrade to version 5.13.0 or later to mitigate these issues.
Affected Version(s)
ultrajson < 5.13.0
