PT-2026-40549

CVE-2026-44660

·

Published

2026-05-12

·

Updated

2026-09-14

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions UltraJSON versions prior to 5.12.1
Description A memory leak occurs when the ujson.dump() function writes to a file-like object and the write operation raises an exception. The objToJSONFile() function allocates a Python string object but fails to call Py DECREF(string) on the early exit path during a write failure, causing the full size of the serialized payload to be leaked. This can lead to linear memory growth if an application serializes data to an attacker-influenced file-like object that can fail, potentially exhausting the memory of a web server.
Recommendations Update to version 5.12.1. As a temporary workaround, replace the use of ujson.dump(obj, file) with file.write(ujson.dumps(obj)) to avoid the memory leak.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C38F-WX89-P2XG
ECHO-25C2-DC78-3AEB
OESA-2026-3606
OESA-2026-3607
OESA-2026-3608
OESA-2026-3720
OPENSUSE-SU-2026:21518-1
PYSEC-2026-2293
SUSE-SU-2026:23114-1
SUSE-SU-2026:23136-1
SUSE-SU-2026:3539-1
Found an issue in the description? Have something to add? Feel free to write us 👾