{"cve":"CVE-2022-31117","nvd":{"published":"2022-07-05T18:15:08.087","modified":"2026-06-17T04:44:50.313","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9},"cwes":["CWE-415"],"references":["https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b","https://github.com/ultrajson/ultrajson/security/advisories/GHSA-fm67-cv37-96ff","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPPU5FZP3LCTXYORFH7NHUMYA5X66IA7/","https://github.com/ultrajson/ultrajson/commit/9c20de0f77b391093967e25d01fb48671104b15b"],"products":["fedoraproject:fedora","ultrajson_project:ultrajson"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-31117","score":0.01876,"percentile":0.79412,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-fm67-cv37-96ff","url":"https://osv.dev/vulnerability/GHSA-fm67-cv37-96ff","summary":"Potential double free of buffer during string decoding","modified":"2026-07-07T11:56:23.468990297Z","packages":[{"ecosystem":"PyPI","name":"ujson","purl":"pkg:pypi/ujson","ranges":["<5.4.0"],"fixed":["5.4.0"]}]},{"id":"PYSEC-2026-1056","url":"https://osv.dev/vulnerability/PYSEC-2026-1056","summary":"Potential double free of buffer during string decoding","modified":"2026-07-07T11:46:02.150833922Z","packages":[{"ecosystem":"PyPI","name":"ujson","purl":"pkg:pypi/ujson","ranges":["<5.4.0"],"fixed":["5.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}