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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/python-pillow/Pillow/pull/2146/commits/c50ebe6459a131a1ea8ca531f10da616d3ceaa0f | patch third party advisory issue tracking |
https://security.gentoo.org/glsa/201612-52 | vendor advisory |
http://www.securityfocus.com/bid/94234 | third party advisory vdb entry |
https://github.com/python-pillow/Pillow/issues/2105 | patch third party advisory issue tracking |
http://www.debian.org/security/2016/dsa-3710 | third party advisory vendor advisory |
http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html | vendor advisory |