Vulnerability Name:

CVE-2016-3982 (CCN-112295)

Assigned:2016-04-08
Published:2016-04-08
Updated:2018-10-30
Summary:Off-by-one error in the bmp_rle4_fread function in pngxrbmp.c in OptiPNG before 0.7.6 allows remote attackers to cause a denial of service (out-of-bounds read or write access and crash) or possibly execute arbitrary code via a crafted image file, which triggers a heap-based buffer overflow.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.9 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
6.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.5 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-119
Vulnerability Consequences:Gain Access
References:Source: MISC
Type: Issue Tracking
http://bugs.fi/media/afl/optipng/2/

Source: MITRE
Type: CNA
CVE-2016-3982

Source: SUSE
Type: Third Party Advisory
openSUSE-SU-2016:1078

Source: SUSE
Type: Third Party Advisory
openSUSE-SU-2016:1082

Source: CCN
Type: OptiPNG Web page
OptiPNG: Advanced PNG Optimizer

Source: DEBIAN
Type: Third Party Advisory
DSA-3546

Source: UBUNTU
Type: Third Party Advisory
USN-2951-1

Source: XF
Type: UNKNOWN
optipng-cve20163982-code-exec(112295)

Source: GENTOO
Type: UNKNOWN
GLSA-201608-01

Source: CONFIRM
Type: Patch, Vendor Advisory
https://sourceforge.net/p/optipng/bugs/57/

Vulnerable Configuration:Configuration 1:
  • cpe:/o:opensuse:leap:42.1:*:*:*:*:*:*:*
  • OR cpe:/o:opensuse:opensuse:13.2:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:debian:debian_linux:7.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:optipng_project:optipng:*:*:*:*:*:*:*:* (Version <= 0.7.5)

  • Configuration 4:
  • cpe:/o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
  • OR cpe:/o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20163982
    V
    CVE-2016-3982
    2018-05-02
    oval:com.ubuntu.precise:def:20163982000
    V
    CVE-2016-3982 on Ubuntu 12.04 LTS (precise) - medium.
    2016-04-13
    oval:com.ubuntu.trusty:def:20163982000
    V
    CVE-2016-3982 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-04-13
    BACK
    opensuse leap 42.1
    opensuse opensuse 13.2
    debian debian linux 7.0
    debian debian linux 8.0
    optipng_project optipng *
    canonical ubuntu linux 12.04
    canonical ubuntu linux 14.04
    canonical ubuntu linux 15.10