Skip to main content
← All vulnerabilities
CVE-2026-44660PYSEC-2026-2293GHSA-C38F-WX89-P2XG

UltraJSON: Memory Leak in ujson.dump() on Write Failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.12.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • ultrajson ultrajson

    fixed in 5.12.1

  • ujsonPyPI

    fixed in 5.12.1

References 3

GitHub · ultrajson/ultrajson