Input validation error in ultrajson - CVE-2026-54911
Published: June 17, 2026
ultrajson
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass input validation and alter serialized data integrity.
The vulnerability exists due to improper input validation in ujson.dumps(), ujson.dump(), and ujson.encode() when processing malformed or truncated UTF-8 byte sequences with reject_bytes=False. A remote attacker can supply crafted byte sequences to bypass input validation and alter serialized data integrity.
The issue occurs only when the reject_bytes=False option is used.