Potential double free of buffer during string decoding


### Impact _What kind of vulnerability is it? Who is impacted?_ When an error occurs while reallocating the buffer for string decoding, the buffer gets freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Users should upgrade to UltraJSON 5.4.0. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ There is no workaround. ### For more information If you have any questions or comments about this advisory: * Open an issue in [UltraJSON](http://github.com/ultrajson/ultrajson/issues)

Affected Software

CPE Name Name Version
ujson 1.15
ujson 1.18
ujson 1.19
ujson 1.21
ujson 1.22
ujson 1.23
ujson 1.30
ujson 1.33
ujson 1.34
ujson 1.35
ujson 1.4
ujson 1.6
ujson 1.8
ujson 1.9
ujson 2.0.0
ujson 2.0.1
ujson 2.0.2
ujson 2.0.3
ujson 3.0.0
ujson 3.1.0
ujson 3.2.0
ujson 4.0.0
ujson 4.0.1
ujson 4.0.2
ujson 4.1.0
ujson 4.2.0
ujson 4.3.0
ujson 5.0.0
ujson 5.1.0
ujson 5.2.0
ujson 5.3.0