PyPI (Python)Worst: High7 advisories
ujson: known vulnerabilities
ujson has 7 reviewed security advisories in the GitHub Advisory Database — 4 high, 3 moderate. The most recent was published 2026-06-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the ujson versions running across your servers, containers and images, and ranks what to patch first.
How to fix ujson
Upgrade ujson to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade ujson (pin ujson>=5.13.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (7)
UltraJSON: Malformed/Truncated UTF-8 Accepted and Silently Rewritten in ujson.dumps()
Moderate 6.5 CWE-20
— Affected: before 5.13.0. Fixed in 5.13.0. Published 2026-06-22. GHSA-3j69-69wj-xqx2 · CVE-2026-54911
UltraJSON has a Memory Leak in ujson.dump() on Write Failure
High 7.5 CWE-401
— Affected: before 5.12.1. Fixed in 5.12.1. Published 2026-05-27. GHSA-c38f-wx89-p2xg · CVE-2026-44660
UltraJSON has an integer overflow handling large indent leads to buffer overflow or infinite loop
High 7.5 CWE-190 CWE-787 CWE-835
— Affected: from 5.1.0 up to 5.12.0. Fixed in 5.12.0. Published 2026-03-20. GHSA-c8rr-9gxc-jprv · CVE-2026-32875
UltraJSON has a Memory Leak parsing large integers allows DoS
High 7.5 CWE-401
— Affected: from 5.4.0 up to 5.12.0. Fixed in 5.12.0. Published 2026-03-20. GHSA-wgvc-ghv9-3pmm · CVE-2026-32874
Potential double free of buffer during string decoding
Moderate 5.9 CWE-415
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2022-07-05. GHSA-fm67-cv37-96ff · CVE-2022-31117
Incorrect handling of invalid surrogate pair characters
High 7.5 CWE-670
— Affected: before 5.4.0. Fixed in 5.4.0. Published 2022-07-05. GHSA-wpqr-jcpx-745r · CVE-2022-31116
UltraJSON vulnerable to Out-of-bounds Write
Moderate 5.5 CWE-787
— Affected: from 1.34 up to 5.2.0. Fixed in 5.2.0. Published 2022-01-01. GHSA-fh56-85cw-5pq6 · CVE-2021-45958
Find ujson across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.