VYPR

Ultrajson

by Ultrajson Project

Source repositories

CVEs (7)

  • CVE-2026-44660HigMay 27, 2026
    risk 0.42cvss 7.5epss 0.00

    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…

  • CVE-2026-32875HigMar 20, 2026
    risk 0.42cvss 7.5epss 0.00

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Versions 5.10 through 5.11.0 are vulnerable to buffer overflow or infinite loop through large indent handling. ujson.dumps() crashes the Python interpreter (segmentation fault) when the…

  • CVE-2026-32874HigMar 20, 2026
    risk 0.42cvss 7.5epss 0.00

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Versions 5.4.0 through 5.11.0 contain an accumulating memory leak in JSON parsing large (outside of the range [-2^63, 2^64 - 1]) integers. The leaked memory is a copy of the string form…

  • CVE-2022-31116HigJul 5, 2022
    risk 0.42cvss 7.5epss 0.02

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded…

  • CVE-2026-54911MedJun 22, 2026
    risk 0.35cvss 6.5epss 0.00

    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…

  • CVE-2022-31117MedJul 5, 2022
    risk 0.31cvss 5.9epss 0.02

    UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder,…

  • CVE-2021-45958MedJan 1, 2022
    risk 0.00cvss 5.5epss 0.02

    UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.