Vulnerability Name:

CVE-2019-5060 (CCN-164403)

Assigned:2019-07-29
Published:2019-07-29
Updated:2022-06-27
Summary:An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow in the colorhash function, allocating too small of a buffer. This buffer can then be written out of bounds, resulting in a heap overflow, ultimately ending in code execution. An attacker can display a specially crafted image to trigger this vulnerability.
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: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
7.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
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
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.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-787
CWE-190
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2019-5060

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:2070

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:2071

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:2108

Source: SUSE
Type: Mailing List, Third Party Advisory
openSUSE-SU-2019:2109

Source: XF
Type: UNKNOWN
libsdl-cve20195060-bo(164403)

Source: MISC
Type: Exploit, Third Party Advisory
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0844

Source: CCN
Type: libsdl Web site
SDL_image

Source: CCN
Type: Talos Vulnerability Report TALOS-2019-0844
SDL_image XPM image colorhash parsing Code Execution Vulnerability

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-5060

Vulnerable Configuration:Configuration 1:
  • cpe:/a:libsdl:sdl2_image:2.0.4:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • OR cpe:/o:opensuse:leap:15.1:*:*:*:*:*:*:*
  • OR cpe:/a:opensuse:backports_sle:15.0:sp1:*:*:*:*:*:*
  • OR cpe:/a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:libsdl:sdl2_image:2.0.4:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:93462
    P
    (Important)
    2022-07-06
    oval:org.opensuse.security:def:93463
    P
    (Important)
    2022-07-06
    oval:org.opensuse.security:def:20195060
    V
    CVE-2019-5060
    2022-06-30
    oval:org.opensuse.security:def:112564
    P
    libSDL2_image-2_0-0-2.0.5-1.14 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:112565
    P
    libSDL_image-1_2-0-1.2.12+hg695-1.12 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106050
    P
    Security update for binutils (Moderate)
    2021-11-04
    oval:org.opensuse.security:def:106049
    P
    Security update for qemu (Important)
    2021-11-04
    oval:org.opensuse.security:def:63240
    P
    squid-4.4-5.3.2 on GA media (Moderate)
    2021-09-21
    oval:org.opensuse.security:def:63241
    P
    stunnel-5.44-1.29 on GA media (Moderate)
    2021-09-21
    oval:org.opensuse.security:def:63467
    P
    evolution-3.34.4-1.49 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:63102
    P
    reiserfs-kmp-default-5.3.18-57.3 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:63466
    P
    djvulibre-3.5.27-9.28 on GA media (Moderate)
    2021-08-10
    oval:org.opensuse.security:def:74356
    P
    Security update for wireshark (Important)
    2021-06-22
    oval:org.opensuse.security:def:74355
    P
    Security update for libjpeg-turbo (Moderate)
    2021-06-11
    oval:org.opensuse.security:def:63103
    P
    kernel-default-livepatch-4.12.14-23.1 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:62444
    P
    libhogweed4-32bit-3.4-2.12 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62900
    P
    glibc-devel-32bit-2.26-13.19.1 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62420
    P
    ibus-chewing-1.4.14-1.47 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62445
    P
    libical-devel-2.0.0-1.37 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62901
    P
    glibc-devel-32bit-2.26-8.21 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62421
    P
    libICE6-32bit-1.0.9-1.25 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62621
    P
    emacs-x11-25.3-3.3.18 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62422
    P
    libIlmImf-2_2-23-2.2.1-1.22 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:62622
    P
    eog-3.34.2-1.46 on GA media (Moderate)
    2020-12-03
    oval:org.opensuse.security:def:63927
    P
    Security update for python-PyYAML (Important)
    2020-12-01
    oval:org.opensuse.security:def:74230
    P
    Security update for chromium (Important)
    2020-12-01
    oval:org.opensuse.security:def:64135
    P
    Security update for webkit2gtk3 (Important)
    2020-12-01
    oval:org.opensuse.security:def:64289
    P
    ldns-devel on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63928
    P
    Security update for libvirt (Important)
    2020-12-01
    oval:org.opensuse.security:def:64136
    P
    Security update for dovecot22 (Important)
    2020-12-01
    oval:org.opensuse.security:def:63793
    P
    Security update for openssl-1_0_0 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64290
    P
    less on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:64033
    P
    Security update for ceph (Important)
    2020-12-01
    oval:org.opensuse.security:def:64177
    P
    Security update for postgresql, postgresql96, postgresql10 and postgresql12 (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:63794
    P
    Security update for libgcrypt (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:74229
    P
    Security update for transfig (Low)
    2020-12-01
    oval:org.opensuse.security:def:64034
    P
    Security update for djvulibre (Low)
    2020-12-01
    oval:org.opensuse.security:def:64178
    P
    Security update for raptor (Important)
    2020-12-01
    oval:org.opensuse.security:def:100175
    P
    (Moderate)
    2019-11-28
    oval:org.opensuse.security:def:100176
    P
    (Low)
    2019-11-28
    oval:org.opensuse.security:def:109979
    P
    Security update for SDL2_image (Moderate)
    2019-09-05
    oval:org.opensuse.security:def:109980
    P
    Security update for SDL_image (Moderate)
    2019-09-05
    oval:com.ubuntu.bionic:def:201950600000000
    V
    CVE-2019-5060 on Ubuntu 18.04 LTS (bionic) - medium.
    2019-07-31
    oval:com.ubuntu.xenial:def:201950600000000
    V
    CVE-2019-5060 on Ubuntu 16.04 LTS (xenial) - medium.
    2019-07-31
    oval:com.ubuntu.disco:def:201950600000000
    V
    CVE-2019-5060 on Ubuntu 19.04 (disco) - medium.
    2019-07-31
    BACK
    libsdl sdl2 image 2.0.4
    opensuse leap 15.0
    opensuse leap 15.1
    opensuse backports sle 15.0 sp1
    opensuse backports sle 15.0 -
    libsdl sdl2 image 2.0.4