CVE-2026-44660
UltraJSON is a fast JSON encoder and decoder written in pure C with …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ultrajson/ultrajson/security/advisories/GHSA-c38f-wx89-p2xg
- github.com/ultrajson/ultrajson/commit/82af1d0ac01d09aa40c887b460d44b9d9f4bccd9
- github.com/ultrajson/ultrajson/releases/tag/5.12.1
- github.com/advisories/GHSA-c38f-wx89-p2xg
- nvd.nist.gov/vuln/detail/CVE-2026-44660
- nvd.nist.gov/vuln/detail/CVE-2026-44660
- cve.org/CVERecord?id=CVE-2026-44660
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.