CVE-2026-32874 | UltraJSON has a Memory Leak parsing large integers allows DoS

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.

Published: 2026-03-20 Last update: 2026-03-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-32874 is rated Low Risk (35.5/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-32874

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-24 0.05% 0.05% +0.00%
2 2026-03-20 0.05%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-32874

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2026-32874

GitHub Security Advisory for CVE-2026-32874

GHSA-wgvc-ghv9-3pmm · Severity: high · Ecosystem: pip — UltraJSON has a Memory Leak parsing large integers allows DoS

OS Trackers for CVE-2026-32874

vendor priority summary link
debian not yet assigned CVE-2026-32874 not yet assigned priority: Debian including 1 source packages (ujson), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2026-32874
redhat high https://access.redhat.com/security/cve/CVE-2026-32874
ubuntu medium CVE-2026-32874 medium priority: Ubuntu including 3 source packages (collada2gltf, pandas, ujson), 24 status rows across 9 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream, xenial): not-affected 15, DNE 5, released 4. https://ubuntu.com/security/CVE-2026-32874

Affected software / configurations for CVE-2026-32874

Vendor Product Version Raw CPE
ultrajson_project ultrajson >= 5.4.0, < 5.12.0 cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*

References for CVE-2026-32874

cvelogic Threat Intelligence