In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.
https://usn.ubuntu.com/4430-2/
https://usn.ubuntu.com/4430-1/
https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html
https://pillow.readthedocs.io/en/stable/releasenotes/
https://github.com/python-pillow/Pillow/pull/4538
https://github.com/python-pillow/Pillow/pull/4505
https://github.com/python-pillow/Pillow/commits/master/src/libImaging/