CVE-2022-31117: fedoraproject fedora Double Free
Vulnerability summary
CVE-2022-31117 is a medium (CVSS 5.9) Double Free vulnerability in fedoraproject fedora. EPSS estimates a 1.88% chance of exploitation in the next 30 days, higher than 79% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 4Timeline
- 05-07-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · PypiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.88%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
+0.05 pp
From 1.82% 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 causeAffected systems
Ubuntu3 products
- collada2gltfAll versions (No fix recorded)
- pandasAll versions (No fix recorded)
- ujson< 1.33-1ubuntu0.1~esm2 | < 1.35-2ubuntu0.1~esm1 | < 5.1.0-1ubuntu0.1~esm1
Debian1 product
- ujson< 5.4.0-1
Fedoraproject1 product
- fedoraEOL35 | 36
PyPI1 product
- ujson< 5.4.0
Ultrajson1 product
- ultrajson< 5.4.0
Ultrajson_project1 product
- ultrajson< 5.4.0
6 vendors · 8 products
References
15 links- github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ffX Refsource CONFIRMWEBREPORTThird Party Advisory
- github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15bX Refsource MISCWEBREPORTPatchThird Party Advisory
- pypi.org/project/ujsonPACKAGE