UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.12.1, when ujson.dump() writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. This vulnerability is fixed in 5.12.1.
Metrics
Affected Vendors & Products
References
History
Thu, 28 May 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ultrajson
Ultrajson ultrajson |
|
| Vendors & Products |
Ultrajson
Ultrajson ultrajson |
Wed, 27 May 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.12.1, when ujson.dump() writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. This vulnerability is fixed in 5.12.1. | |
| Title | UltraJSON: Memory Leak in ujson.dump() on Write Failure | |
| Weaknesses | CWE-401 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: GitHub_M
Published: 2026-05-27T20:42:59.830Z
Updated: 2026-05-27T20:42:59.830Z
Reserved: 2026-05-07T16:20:08.659Z
Link: CVE-2026-44660
No data.
Status : Received
Published: 2026-05-27T21:16:17.650
Modified: 2026-05-27T21:16:17.650
Link: CVE-2026-44660
No data.