id: PYSEC-2016-7 details: Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow. affected: - package: name: pillow ecosystem: PyPI purl: pkg:pypi/pillow ranges: - type: GIT repo: https://github.com/python-pillow/Pillow events: - introduced: '0' - fixed: 4e0d9b0b9740d258ade40cce248c93777362ac1e - type: ECOSYSTEM events: - introduced: '0' - fixed: 3.1.1 versions: - '1.0' - '1.1' - '1.2' - '1.3' - '1.4' - '1.5' - '1.6' - 1.7.0 - 1.7.1 - 1.7.2 - 1.7.3 - 1.7.4 - 1.7.5 - 1.7.6 - 1.7.7 - 1.7.8 - 2.0.0 - 2.1.0 - 2.2.0 - 2.2.1 - 2.2.2 - 2.3.0 - 2.3.1 - 2.3.2 - 2.4.0 - 2.5.0 - 2.5.1 - 2.5.2 - 2.5.3 - 2.6.0 - 2.6.1 - 2.6.2 - 2.7.0 - 2.8.0 - 2.8.1 - 2.8.2 - 2.9.0 - 3.0.0 - 3.1.0 - 3.1.0.rc1 - 3.1.0rc1 references: - type: FIX url: https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e - type: WEB url: https://github.com/python-pillow/Pillow/pull/1714 - type: WEB url: https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst - type: WEB url: http://www.securityfocus.com/bid/86064 - type: ADVISORY url: https://security.gentoo.org/glsa/201612-52 - type: ADVISORY url: https://github.com/advisories/GHSA-hvr8-466p-75rh aliases: - CVE-2016-4009 - GHSA-hvr8-466p-75rh modified: '2021-07-05T00:01:24.042207Z' published: '2016-04-13T16:59:00Z'