CVE-2026-32874

ujson: UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+

CVE-2026-32874 is fixed in 2 products on 1 platform, first by python3-ujson 5.9.0-1ubuntu0.1~esm1, released March 19, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0051
43rd percentile

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Versions 5.4.0 through 5.11.0 contain an accumulating memory leak in JSON parsing large (outside of the range [-2^63, 2^64 - 1]) integers. The leaked memory is a copy of the string form of the integer plus an additional NULL byte. The leak occurs irrespective of whether the integer parses successfully or is rejected due to having more than sys.get_int_max_str_digits() digits, meaning that any sized leak per malicious JSON can be achieved provided that there is no limit on the overall size of the payload. Any service that calls ujson.load()/ujson.loads()/ujson.decode() on untrusted inputs is affected and vulnerable to denial of service attacks. This issue has been fixed in version 5.12.0.

Where it's fixed

ProductFixed inFixReleased
Linux
python3-ujson · Ubuntu 24.04.5 LTS (noble) 5.9.0-1ubuntu0.1~esm1 python3-ujson 5.9.0-1ubuntu0.1~esm1 Mar 19, 2026
python3-ujson · Ubuntu 25.10 (questing) 5.10.0-1ubuntu0.1 python3-ujson 5.10.0-1ubuntu0.1 Mar 19, 2026
python3-ujson · Ubuntu 26.04.1 LTS (resolute) 5.11.0-3ubuntu0.1 python3-ujson 5.11.0-3ubuntu0.1 Mar 19, 2026
ujson · Debian 14 5.13.0-1 DEBIAN-CVE-2026-32874 Mar 20, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.