An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-25287-cve-2021-25288-fix-oob-read-in-jpeg2kdecode | vendor advisory |
https://github.com/python-pillow/Pillow/pull/5377#issuecomment-833821470 | third party advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/ | vendor advisory |
https://security.gentoo.org/glsa/202107-33 | third party advisory vendor advisory |