Heap-based buffer overflow in the j2kencodeentry function in Pillow 2.5.0 through 3.1.1 allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file.
"https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2017-92.yaml"