UltraJSON 4.2.0 before 6.0.0 contains a memory leak in ObjectbeginTypeContext() that fails to release objects returned by a caller-supplied…
CVE-2026-145573
UltraJSON 4.2.0 before 6.0.0 contains a memory leak in ObjectbeginTypeContext() that fails to release objects returned by a caller-supplied default handler. Attackers who can repeatedly trigger encoding of values whose default handler returns non-serializable objects leak one object per failed call, gradually exhausting process memory.
Assessment
- CVSS
- 6.3 (v4.0)
- Severity
- Medium
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 5 December 2026
- Last updated
- 5 December 2026
- Weakness
- CWE-401
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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
At the source
References
- https://github.com/ultrajson/ultrajson/blob/5.13.0/src/ujson/python/objToJSON.c#L543-L590
- https://github.com/ultrajson/ultrajson/commit/12492c2deb0e60ac66da40dc15f06ba967ed3e0a
- https://github.com/ultrajson/ultrajson/releases/tag/6.0.0
- https://github.com/ultrajson/ultrajson/security/advisories/GHSA-8g3h-c45c-7pg3
- https://www.vulncheck.com/advisories/ultrajson-4.2.0-before-6.0.0-memory-leak-via-ujson-dumps-default-handler
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-145573