Double Free in Ultrajson

CVE-2022-31117

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…

Vulnerability class: Double Free

EPSS: 0.017 (74.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-31117?
CVE-2022-31117 is a medium-severity vulnerability in Ultrajson, classified under Double Free. CVSS score: 5.9/10. Published 2022-07-05.
How severe is CVE-2022-31117?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2022-31117 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.