Vulnerability Name:

CVE-2016-5637 (CCN-114957)

Assigned:2016-07-12
Published:2016-07-12
Updated:2018-10-17
Summary:The restore_tqb_pixels function in libbpg 0.9.5 through 0.9.7 mishandles the transquant_bypass_enable_flag value, which allows remote attackers to execute arbitrary code or cause a denial of service (out-of-bounds write) via a crafted BPG image, related to a "type confusion" issue.
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.7 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:U/RL:U/RC:R)
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.6 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:U/RL:U/RC:R)
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: CCN
Type: BPG Web site
BPG Image format

Source: MITRE
Type: CNA
CVE-2016-5637

Source: CCN
Type: US-CERT VU#123799
libbpg contains a type confusion vulnerability that leads to out of bounds write

Source: CERT-VN
Type: Third Party Advisory, US Government Resource
VU#123799

Source: BID
Type: Third Party Advisory, VDB Entry
91726

Source: CCN
Type: BID-91726
libbpg 'restore_tqb_pixels()' Function Type Confusion Remote Code Execution Vulnerability

Source: XF
Type: UNKNOWN
libbpg-cve20165637-dos(114957)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:libbpg_project:libbpg:*:*:*:*:*:*:*:* (Version >= 0.9.5 and <= 0.9.7)

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201656370000000
    V
    CVE-2016-5637 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-07-15
    oval:com.ubuntu.artful:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 17.10 (artful) - medium.
    2016-07-15
    oval:com.ubuntu.trusty:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-07-15
    oval:com.ubuntu.xenial:def:201656370000000
    V
    CVE-2016-5637 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-07-15
    oval:com.ubuntu.bionic:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 18.04 LTS (bionic) - medium.
    2016-07-15
    oval:com.ubuntu.xenial:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-07-15
    oval:com.ubuntu.disco:def:201656370000000
    V
    CVE-2016-5637 on Ubuntu 19.04 (disco) - medium.
    2016-07-15
    oval:com.ubuntu.cosmic:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 18.10 (cosmic) - medium.
    2016-07-15
    oval:com.ubuntu.cosmic:def:201656370000000
    V
    CVE-2016-5637 on Ubuntu 18.10 (cosmic) - medium.
    2016-07-15
    oval:com.ubuntu.precise:def:20165637000
    V
    CVE-2016-5637 on Ubuntu 12.04 LTS (precise) - medium.
    2016-07-15
    BACK
    libbpg_project libbpg *