CVE-2026-32874: ultrajson_project ultrajson
Vulnerability summary
CVE-2026-32874 is a high (CVSS 7.5) vulnerability in ultrajson_project ultrajson. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 20-03-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
+0.23 pp
From 0.48% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-401Missing Release of Memory after Effective LifetimeThe product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
- CWE-772Missing Release of Resource after Effective LifetimeThe product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.
Affected systems
Chainguard1 product
- apache-beam-python-3.12-sdk< 2.71.0-r1
Debian1 product
- ujsonAll versions (No fix recorded) | < 5.13.0-1
PyPI1 product
- ujson≥ 5.4.0, < 5.12.0
Ubuntu1 product
- ujson< 5.9.0-1ubuntu0.1~esm1 | < 5.10.0-1ubuntu0.1 | All versions (No fix recorded) | < 5.11.0-3ubuntu0.1
Ultrajson1 product
- ultrajson≥ 5.4.0, < 5.12.0
Ultrajson_project1 product
- ultrajson≥ 5.4.0, < 5.12.0
6 vendors · 6 products
References
13 links- github.com/ultrajson/ultrajson/security/advisories/GHSA-wgvc-ghv9-3pmmX Refsource CONFIRMWEBAdvisoryREPORTVendor Advisory
- github.com/ultrajson/ultrajson/commit/4baeb950df780092bd3c89fc702a868e99a3a1d2X Refsource MISCWEBFIXREPORTPatch
- github.com/ultrajson/ultrajson/releases/tag/5.12.0X Refsource MISCWEBAdvisoryREPORTProductRelease Notes