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.
CVE-2026-32874
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(low)
- EPSS
- 38.0%
- KEV
- Not listed
Published
March 20, 2026
Last Modified
June 30, 2026
Advisory Details (6)
Auto-updated Jul 6, 20262449411 – (CVE-2026-32874) CVE-2026-32874 UltraJSON: UltraJSON: Denial of Service due to memory leak when parsing large integers
https://bugzilla.redhat.com/show_bug.cgi?id=2449411Memory Leak parsing large integers allows DoS · Advisory · ultrajson/ultrajson · GitHub
https://github.com/ultrajson/ultrajson/security/advisories/GHSA-wgvc-ghv9-3pmm5.12.0
Patch available: ultrajson/ultrajson 5.12.0
https://github.com/ultrajson/ultrajson/releases/tag/5.12.0commit 4baeb950df78 (ultrajson/ultrajson)
Patch available: ultrajson/ultrajson 5.12.0 (contains commit 4baeb950df78)
https://github.com/ultrajson/ultrajson/commit/4baeb950df780092bd3c89fc702a868e99a3a1d2Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-ujson (5.10.0-1ubuntu0.1) @ questing | 2026-06-30 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| ujson | 5.10.0 ... 5.9.0 (8 versions) | 5.12.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 8× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:38 UTCEG score recompute
- 2026-06-30 04:38 UTCVendor advisory
- 2026-06-30 04:32 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-32874?
When was CVE-2026-32874 disclosed?
Is CVE-2026-32874 actively exploited?
What is the CVSS score of CVE-2026-32874?
How do I remediate CVE-2026-32874?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-32874
Is Your Infrastructure Affected by CVE-2026-32874?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.