7.5

CVE-2022-31116: fedoraproject fedora

CVSS: 7.5v3.1HighModified
AliasesGHSA-wpqr-jcpx-745rPYSEC-2026-1057UBUNTU-CVE-2022-31116
Published 05-07-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-31116 is a high (CVSS 7.5) vulnerability in fedoraproject fedora. EPSS estimates a 2.54% chance of exploitation in the next 30 days, higher than 84.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
2.54%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 7 · Related 4

Timeline

  1. 05-07-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

Description

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output. Users are advised to upgrade. There are no known workarounds for this issue.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.54%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

+0.07 pp

From 2.47% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.54%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Ultrajson

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Ubuntu3 products
  • collada2gltfAll versions (No fix recorded)
  • pandasAll versions (No fix recorded)
  • ujson< 1.33-1ubuntu0.1~esm2 | < 1.35-2ubuntu0.1~esm1 | < 5.1.0-1ubuntu0.1~esm1
Debian1 product
  • ujson< 5.4.0-1
Fedoraproject1 product
PyPI1 product
  • ujson< 5.4.0
Ultrajson1 product
Ultrajson_project1 product

6 vendors · 8 products

References

15 links
Show all 15 references