CVE-2026-44660Ultrajson Project Ultrajson
High 8.7 No auth needed
Follow: this CVE · Ultrajson Project · Ultrajson Project Ultrajson We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- May 27, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-401
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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
- Apply the vendor's security update for Ultrajson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ujson |
< 5.12.1 |
5.12.1 |
pip install "ujson>=5.12.1" |
| PyPI | ujson |
< 5.12.1 |
5.12.1 |
pip install "ujson>=5.12.1" |
Per OSV / GitHub Advisories (GHSA-c38f-wx89-p2xg, PYSEC-2026-2293). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ultrajson_project | ultrajson | < 5.12.1 |
Official advisories
- Security update for python-ujson · SUSE · SUSE-SU-2026:3539-1 · Aug 10, 2026 High
- Security update for python-ujson · SUSE · SUSE-SU-2026:23114-1 · Aug 3, 2026 High
- Security update for python-ujson · SUSE · SUSE-SU-2026:23136-1 · Aug 3, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Mitigation Patch