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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-6334 | 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. |
Github GHSA |
GHSA-fm67-cv37-96ff | Potential double free of buffer during string decoding |
Ubuntu USN |
USN-6629-1 | UltraJSON vulnerabilities |
Ubuntu USN |
USN-6629-3 | UltraJSON vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 23 Apr 2025 18:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-23T18:05:03.670Z
Reserved: 2022-05-18T00:00:00.000Z
Link: CVE-2022-31117
Updated: 2024-08-03T07:11:39.016Z
Status : Modified
Published: 2022-07-05T18:15:08.087
Modified: 2024-11-21T07:03:55.823
Link: CVE-2022-31117
OpenCVE Enrichment
No data.
EUVD
Github GHSA
Ubuntu USN