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.
References
| Link | Resource |
|---|---|
| https://github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf | Patch |
| https://github.com/ultrajson/ultrajson/releases/tag/5.13.0 | Product Release Notes |
| https://github.com/ultrajson/ultrajson/security/advisories/GHSA-3j69-69wj-xqx2 | Mitigation Patch Vendor Advisory |
Configurations
History
26 Jun 2026, 20:10
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* | |
| First Time |
Ultrajson Project
Ultrajson Project ultrajson |
|
| References | () https://github.com/ultrajson/ultrajson/commit/169eaf36b1116fece5034ee79a7a0ef3f6deedcf - Patch | |
| References | () https://github.com/ultrajson/ultrajson/releases/tag/5.13.0 - Product, Release Notes | |
| References | () https://github.com/ultrajson/ultrajson/security/advisories/GHSA-3j69-69wj-xqx2 - Mitigation, Patch, Vendor Advisory |
22 Jun 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-22 22:16
Updated : 2026-06-26 20:10
NVD link : CVE-2026-54911
Mitre link : CVE-2026-54911
CVE.ORG link : CVE-2026-54911
JSON object : View
Products Affected
ultrajson_project
- ultrajson
CWE
CWE-20
Improper Input Validation
