Vulnerability Name:

CVE-2016-4009 (CCN-112309)

Assigned:2016-04-13
Published:2016-04-13
Updated:2017-07-01
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:10.0 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2016-4009

Source: BID
Type: UNKNOWN
86064

Source: CCN
Type: BID-86064
Python Pillow CVE-2016-4009 Integer Overflow Vulnerability

Source: XF
Type: UNKNOWN
pillow-cve20164009-bo(112309)

Source: CONFIRM
Type: Patch, Vendor Advisory
https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst

Source: CCN
Type: Pillow GIT Repository
3.2.0 (unreleased)

Source: CONFIRM
Type: Patch
https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e

Source: CONFIRM
Type: Patch
https://github.com/python-pillow/Pillow/pull/1714

Source: GENTOO
Type: UNKNOWN
GLSA-201612-52

Vulnerable Configuration:Configuration 1:
  • cpe:/a:python:pillow:*:*:*:*:*:*:*:* (Version <= 3.1.0)

  • Configuration CCN 1:
  • cpe:/a:python:pillow:3.1.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20164009
    V
    CVE-2016-4009
    2022-05-20
    oval:org.opensuse.security:def:58059
    P
    Security update for MozillaFirefox (Important)
    2021-12-12
    oval:org.opensuse.security:def:58021
    P
    Security update for webkit2gtk3 (Important)
    2021-10-06
    oval:org.opensuse.security:def:57947
    P
    Security update for the Linux Kernel (Live Patch 39 for SLE 12 SP3) (Important)
    2021-06-18
    oval:org.opensuse.security:def:57462
    P
    Security update for freeradius-server (Moderate)
    2021-06-11
    oval:org.opensuse.security:def:57017
    P
    Security update for qemu (Important)
    2021-06-08
    oval:org.opensuse.security:def:57190
    P
    Security update for nghttp2 (Important)
    2021-03-24
    oval:org.opensuse.security:def:58090
    P
    Security update for grub2 (Important)
    2021-03-02
    oval:org.opensuse.security:def:56779
    P
    Security update for xen (Important)
    2020-12-01
    oval:org.opensuse.security:def:56616
    P
    Security update for libxml2 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:58164
    P
    Security update for python-Pillow (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57747
    P
    jakarta-commons-fileupload on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56617
    P
    Security update for ImageMagick (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57855
    P
    libsrtp1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56639
    P
    Security update for ImageMagick (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:58140
    P
    Security update for xen (Important)
    2020-12-01
    oval:org.opensuse.security:def:57296
    P
    Security update for acroread
    2020-12-01
    oval:org.opensuse.security:def:80799
    P
    Security update for python-Pillow (Moderate)
    2019-09-09
    oval:com.ubuntu.trusty:def:20164009000
    V
    CVE-2016-4009 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-04-13
    oval:com.ubuntu.xenial:def:20164009000
    V
    CVE-2016-4009 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-04-13
    oval:com.ubuntu.xenial:def:201640090000000
    V
    CVE-2016-4009 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-04-13
    BACK
    python pillow *
    python pillow 3.1.0