SB2026042922 - Ubuntu update for ujson



SB2026042922 - Ubuntu update for ujson

Published: April 29, 2026

Security Bulletin ID SB2026042922
Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Memory leak (CVE-ID: CVE-2026-32874)

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().


2) Integer overflow (CVE-ID: CVE-2026-32875)

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 update from vendor's website.