CVE-2026-54911

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
22/06/2026
Last modified:
26/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* 5.13.0 (excluding)