Description
UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.
Published: 2021-12-31
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2929-1 ujson security update
EUVD EUVD EUVD-2022-0348 UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.
Github GHSA Github GHSA GHSA-fh56-85cw-5pq6 UltraJSON vulnerable to Out-of-bounds Write
Ubuntu USN Ubuntu USN USN-6629-1 UltraJSON vulnerabilities
Ubuntu USN Ubuntu USN USN-6629-2 UltraJSON vulnerability
History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00287}

epss

{'score': 0.00239}


Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Ultrajson Project Ultrajson
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T04:54:31.071Z

Reserved: 2021-12-31T00:00:00.000Z

Link: CVE-2021-45958

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-01-01T00:15:08.813

Modified: 2024-11-21T06:33:22.023

Link: CVE-2021-45958

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses