p PatchFirst

PatchFirst · Latest vulnerabilities

ujson vulnerabilities

Vulnerabilities published for ujson in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-54911

    Medium · CVSS 6.5EPSS 0.37%No fix published

    UltraJSON: Malformed/Truncated UTF-8 Accepted and Silently Rewritten in ujson.dumps()

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.13.0, ujson.dumps() (or ujson.dump() or ujson.encode()) have a reject_bytes=False option. When set, they may accept malformed or truncated UTF-8 byte sequences, silently rewriting them into different Unicode characters instead of rejecting them. This leads to input validation bypass and data integrity issues. This vulnerability is fixed in 5.13.0.

    Published Updated
  2. CVE-2026-44660

    High · CVSS 8.7EPSS 0.42%No fix published

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

    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.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →