Memory leak in ultrajson - CVE-2026-32874
Published: April 27, 2026
ultrajson
ultrajson
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to missing release of memory after effective lifetime in the JSON parser when parsing large integer values in untrusted JSON input. A remote attacker can send a specially crafted JSON payload containing large integers to cause a denial of service.
The issue is triggered for integers outside the range [-2^63, 2^64 - 1], and the leak occurs even if parsing fails because the integer exceeds sys.get_int_max_str_digits().