PT-2026-26093

CVE-2026-32875

·

Published

2026-03-17

·

Updated

2026-10-07

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions UltraJSON versions 5.10 through 5.11.0
Description UltraJSON, a fast JSON encoder and decoder written in C, is susceptible to a buffer overflow or infinite loop when processing large indent values. Specifically, the ujson.dumps() function can crash the Python interpreter due to a segmentation fault if the product of the indent parameter and the nested depth of the input exceeds the maximum value of a 32-bit integer (INT32 MAX). Additionally, a large negative indent value can cause the function to enter an infinite loop. These issues stem from an integer overflow or underflow during memory allocation for indentation. Exploitation requires a service to call ujson.dump(), ujson.dumps(), or ujson.encode() while allowing untrusted users to control the indent parameter without restricting it to reasonable non-negative values. A service may also be vulnerable to the infinite loop if it uses a fixed negative indent.
Recommendations UltraJSON versions 5.10 through 5.11.0 should be updated to version 5.12.0 or later. As a temporary workaround, ensure the indent parameter is non-negative and not excessively large. Avoid using negative indent values. Restrict access to the ujson.dumps() function if untrusted users can control the indent parameter.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C8RR-9GXC-JPRV
ECHO-D87E-E10C-F209
MGASA-2026-0073
OESA-2026-3607
OESA-2026-3608
OESA-2026-3720
PYSEC-2026-2292
USN-8219-1
Found an issue in the description? Have something to add? Feel free to write us 👾