CVE-2026-145573

UltraJSON 4.2.0 before 6.0.0 Memory Leak via ujson.dumps() default Handler

Published Dec 5, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 5, 2026, 2:43 PM
Reserved
Dec 5, 2026, 2:31 PM
Status
Received
Published
Dec 5, 2026, 3:17 PM
Modified
Dec 5, 2026, 3:17 PM