Integer overflow in ultrajson - CVE-2026-32875

 

Integer overflow in ultrajson - CVE-2026-32875

Published: April 27, 2026


Vulnerability identifier: #VU128153
CSH Severity: Medium
CVSSv4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-32875
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
ultrajson
Software vendor:
ultrajson

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to integer overflow or underflow in ujson.dumps() indentation handling when processing user-controlled indent values during JSON serialization of nested input. A remote attacker can supply a specially crafted indent value to cause a denial of service.

The issue can result in a segmentation fault when the indent value and nesting depth exceed INT32_MAX, or an infinite loop when a large negative indent is used.


Remediation

Install security update from vendor's website.

External links