CVE-2026-32874
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 Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-401
- CWE-772
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1499.002Endpoint Denial of Service: Service Exhaustion Flood
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /ujson.loads()/ujson.decode().
References
6 on the record
- github.com/ultrajson/ultrajson/security/advisories/GHSA-wgvc-ghv9-3pmm
x_refsource_CONFIRM
- github.com/ultrajson/ultrajson/commit/4baeb950df780092bd3c89fc702a868e99a3a1d2
x_refsource_MISC
- github.com/ultrajson/ultrajson/releases/tag/5.12.0
x_refsource_MISC
- access.redhat.com/security/cve/CVE-2026-32874
vdb-entry, x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi?id=2449411
issue-tracking, x_refsource_REDHAT
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32874.json
x_sadp-csaf-vex
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-93006 Dnsmasq: dnsmasq: tftp prefetch cache keyed on stale heap pointer serves wrong file contentCVSS 6.8
- CVE-2018-0158 Cisco IOS and XE Software Internet Key Exchange Memory Leak VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2024-20481 Cisco ASA and FTD Denial-of-Service VulnerabilityCVSS 5.8 · CISA KEV
- CVE-2023-26083 Arm Mali GPU Kernel Driver Information Disclosure VulnerabilityCVSS 3.3 · CISA KEV
- CVE-2026-20250 Cisco Secure Firewall Adaptive Security Appliance and Secure Firewall Threat Defense Software for Firepower 3100 and 4200 Series DTLS Denial of Service VulnerabilityCVSS 8.6
- CVE-2026-127170 Missing Release of Memory after Effective Lifetime in CODESYS Control RTECVSS 7.5
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.