In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.
https://usn.ubuntu.com/4430-2/
https://usn.ubuntu.com/4430-1/
https://pillow.readthedocs.io/en/stable/releasenotes/index.html
https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html