CVE-2022-31117

Summary

CVECVE-2022-31117
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-07-05 18:15:00 UTC
Updated2023-11-07 03:47:00 UTC
DescriptionUltraJSON 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.

Risk And Classification

Problem Types: CWE-415

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Ultrajson Project Ultrajson All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 36 Update: python-ujson-5.4.0-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: python-ujson-5.4.0-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Potential double free of buffer during string decoding · Advisory · ultrajson/ultrajson · GitHub CONFIRM github.com
Merge pull request from GHSA-fm67-cv37-96ff · ultrajson/ultrajson@9c20de0 · GitHub MISC github.com
[SECURITY] Fedora 36 Update: python-ujson-5.4.0-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: python-ujson-5.4.0-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183080 Debian Security Update for ujson (CVE-2022-31117)
  • 200109 Ubuntu Security Notification for UltraJSON Vulnerabilities (USN-6629-1)
  • 200110 Ubuntu Security Notification for UltraJSON Vulnerability (USN-6629-2)
  • 200117 Ubuntu Security Notification for UltraJSON Vulnerabilities (USN-6629-3)
  • 240971 Red Hat Update for OpenStack Platform 16.2.4 (RHSA-2022:8850)
  • 240977 Red Hat Update for OpenStack Platform 16.1.9 (RHSA-2022:8864)
  • 282967 Fedora Security Update for python (FEDORA-2022-1b2b8d5177)
  • 283003 Fedora Security Update for python (FEDORA-2022-33e816bc37)
  • 502411 Alpine Linux Security Update for py3-ujson
  • 710882 Gentoo Linux UltraJSON Multiple Vulnerabilities (GLSA 202403-03)
  • 753304 SUSE Enterprise Linux Security Update for python-ujson (SUSE-SU-2022:2673-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report