CVE-2026-44660

high
Published 2026-05-12 Β· Modified 2026-06-02
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
VIR risk
7.5

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.

Predictions

Exploit likelihood
83%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker Β· View original β†— Β· DFSG

CVE-2026-44660 NameCVE-2026-44660 DescriptionUltraJSON 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…

CVE-2026-44660

NameCVE-2026-44660
DescriptionUltraJSON 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ujson (PTS)bullseye4.0.2-1vulnerable
bookworm5.7.0-1vulnerable
trixie5.10.0-1vulnerable
forky, sid5.11.0-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ujsonsource(unstable)(unfixed)

Notes

https://github.com/ultrajson/ultrajson/security/advisories/GHSA-c38f-wx89-p2xg
Fixed by: https://github.com/ultrajson/ultrajson/commit/82af1d0ac01d09aa40c887b460d44b9d9f4bccd9 (5.12.1)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/ultrajson/ultrajson/security/advisories/GHSA-c38f-wx89-p2xgFixed by: https://github.com/ultrajson/ultrajson/commit/82af1d0ac01d09aa40c887b460d44b9d9f4bccd9 (5.12.1)

OS impact

debian Debian Affected 5 releases
VersionStatusFixed in
trixie Affected β€”
sid Affected β€”
forky Affected β€”
bullseye Affected β€”
bookworm Affected β€”

Package impact

EcosystemPackageVulnerableFixed
python PyPIujson<5.12.15.12.1
PIPujson<= 5.12.05.12.1

Application impact

VendorProductVersionsFixed
ultrajson_projectultrajson{"endExcluding":"5.12.1"}5.12.1

References

CWEs

CWE-401

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.