PT-2022-3515

CVE-2022-31116

·

Published

2022-07-05

·

Updated

2026-09-05

Description by

CVSS 2.0
9.4
High
MetricsAV:N/AC:L/Au:N/C:N/I:C/A:C
Name of the Vulnerable Software and Affected Versions UltraJSON versions prior to 5.4.0
Description The issue is related to the improper decoding of certain characters in JSON strings, specifically escaped surrogate characters not part of a proper surrogate pair. This can lead to string corruption, key confusion, and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. The problem allows for potential data integrity impact.
Recommendations For versions prior to 5.4.0, upgrade to UltraJSON 5.4.0 to resolve the issue. As a temporary workaround, consider avoiding the use of UltraJSON for parsing JSON from untrusted sources until the upgrade is applied. There are no known safe alternatives to upgrading.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-WPQR-JCPX-745R
ALT-PU-2022-2708
MGASA-2022-0270
OESA-2026-3606
OPENSUSE-SU-2022_2673-1
OPENSUSE-SU-2024:12183-1
OPENSUSE-SU-2025:15107-1
PYSEC-2026-1057
RHSA-2022:8850
RHSA-2022:8864
SUSE-SU-2022:2673-1
SUSE-SU-2022_2673-1
USN-6629-1
USN-6629-3
Found an issue in the description? Have something to add? Feel free to write us 👾