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.
"https://github.com/pypa/advisory-database/blob/main/vulns/ujson/PYSEC-2022-25.yaml"