CVE-2026-54911

MEDIUM CVSS 3.1: 6.5 EPSS 0.37%
Updated Jun 26, 2026
Ultrajson_Project
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 5.13.0
Fixed In 5.13.0
Type CWE-20 (Improper Input Validation)
Vendor Ultrajson_Project
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Ultrajson_Project Ultrajson
cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*
— 5.13.0