CVE-2026-44660

UltraJSON: Memory Leak in ujson.dump() on Write Failure

HIGH
7.5
CVSS Score
Published: May 27, 2026 at 08:42 PM UTC
Updated: June 17, 2026 at 10:51 AM UTC
2 products affected across 2 vendorsUltrajsonUltrajson

Using ultrajson by ultrajson?

Get instant alerts when new vulnerabilities affect ultrajson - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.12.1, when ujson.dump() writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. This vulnerability is fixed in 5.12.1.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.12.1
Affected range stops below 5.12.1, so it looks safe — our inference, not a vendor statement
v < 5.12.1
Affected range stops below 5.12.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMExploitMitigationPatchVendor Advisory
Source: cverecord
https://github.com/ultrajson/ultrajson/security/advisories/GHSA-c38f-wx89-p2xg
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/ultrajson/ultrajson/releases/tag/5.12.1

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card