CVE 8.7 HIGH

UltraJSON: Memory Leak in ujson.dump() on Write Failure_CVE-2026-44660

8.7 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

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.

AI Analysis

Memory leak in ujson.dump() when write operation raises an exception

Basic Information

ID CVE-2026-44660
Source GitHub_M
Published May 27, 2026 at 20:42

Affected Product

Vendor ultrajson
Product ultrajson
Version < 5.12.1
Affected Versions ultrajson ultrajson < 5.12.1

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor ultrajson
Product UltraJSON
Version < 5.12.1

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.