Integer overflow in ultrajson - CVE-2026-32875
Published: April 27, 2026
ultrajson
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.