Input validation error in ultrajson - CVE-2026-54911
Published: June 17, 2026
Vulnerability details
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.
Affected software
openEuler
python-ujson
python-ujson-debuginfo
python-ujson-debugsource
python-ujson-help
python3-ujson
How to mitigate CVE-2026-54911
python-ujson - addressed in versions 4.0.2-3, 5.1.0-6, 5.1.0-7
python-ujson-debuginfo - addressed in versions 4.0.2-3, 5.1.0-6, 5.1.0-7
python-ujson-debugsource - addressed in versions 4.0.2-3, 5.1.0-6, 5.1.0-7
python-ujson-help - addressed in versions 4.0.2-3, 5.1.0-6, 5.1.0-7
python3-ujson - addressed in versions 4.0.2-3, 5.1.0-6, 5.1.0-7