pillow is vulnerable to a denial of service. An attacker is able to send contained images in the ICNS, ICO, and BLP container formats to cause huge memory allocations as it does not check the size of the contained image in those formats.
github.com/python-pillow/Pillow/blob/973a4c333ab6d603e82f6eb2aa6f39d1cfcecccb/docs/releasenotes/8.1.1.rst#811
github.com/python-pillow/Pillow/commit/2ba5eb1cd94d4260b7d7de83628e406f77e77684
github.com/python-pillow/Pillow/issues/5193
github.com/python-pillow/Pillow/pull/5303
lists.fedoraproject.org/archives/list/[email protected]/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
lists.fedoraproject.org/archives/list/[email protected]/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
lists.fedoraproject.org/archives/list/[email protected]/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
security.gentoo.org/glsa/202107-33