ujson
Affected
- introduced
0, fixed5.12.1(ecosystem)
Fixed versions
5.12.1
Fix
- Fixed version
5.12.1pip install --upgrade ujson==5.12.1
Advisory
Also known as: CVE-2026-44660, GHSA-c38f-wx89-p2xg
The record has no summary.
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0, fixed 5.12.1 (ecosystem)5.12.1
5.12.1pip install --upgrade ujson==5.12.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0