Description
UltraJSON 4.2.0 before 6.0.0 contains a memory leak in Object_beginTypeContext() that fails to release objects returned by a caller-supplied default handler. Attackers who can repeatedly trigger encoding of values whose default handler returns non-serializable objects leak one object per failed call, gradually exhausting process memory.
Published: 2026-12-05
Score: 6.3 Medium
EPSS: n/a
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

No advisories yet.

History

Sat, 05 Dec 2026 14:45:00 +0000

Type Values Removed Values Added
Description UltraJSON 4.2.0 before 6.0.0 contains a memory leak in Object_beginTypeContext() that fails to release objects returned by a caller-supplied default handler. Attackers who can repeatedly trigger encoding of values whose default handler returns non-serializable objects leak one object per failed call, gradually exhausting process memory.
Title UltraJSON 4.2.0 before 6.0.0 Memory Leak via ujson.dumps() default Handler
First Time appeared Ultrajson Project
Ultrajson Project ultrajson
Weaknesses CWE-401
CPEs cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:*:*:*
Vendors & Products Ultrajson Project
Ultrajson Project ultrajson
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Ultrajson Project Ultrajson
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-05T14:43:06.168Z

Reserved: 2026-12-05T14:31:54.567Z

Link: CVE-2026-145573

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-05T15:17:35.730

Modified: 2026-12-05T15:17:35.730

Link: CVE-2026-145573

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T18:30:19Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime