Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.
https://security.gentoo.org/glsa/201612-52
https://github.com/python-pillow/Pillow/pull/2146/commits/c50ebe6459a131a1ea8ca531f10da616d3ceaa0f
https://github.com/python-pillow/Pillow/issues/2105
http://www.securityfocus.com/bid/94234
http://www.debian.org/security/2016/dsa-3710
http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html