Upstream information

CVE-2019-5060 at MITRE


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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1143768 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP1
  • libSDL2_image-2_0-0 >= 2.0.5-bp151.4.3.1
  • libSDL2_image-2_0-0-64bit >= 2.0.5-bp151.4.3.1
  • libSDL2_image-devel >= 2.0.5-bp151.4.3.1
  • libSDL2_image-devel-64bit >= 2.0.5-bp151.4.3.1
  • libSDL_image-1_2-0 >= 1.2.12+hg695-bp151.4.3.1
  • libSDL_image-1_2-0-64bit >= 1.2.12+hg695-bp151.4.3.1
  • libSDL_image-devel >= 1.2.12+hg695-bp151.4.3.1
  • libSDL_image-devel-64bit >= 1.2.12+hg695-bp151.4.3.1
SUSE Package Hub 15
  • libSDL2_image-2_0-0 >= 2.0.5-bp150.3.6.1
  • libSDL2_image-2_0-0-64bit >= 2.0.5-bp150.3.6.1
  • libSDL2_image-devel >= 2.0.5-bp150.3.6.1
  • libSDL2_image-devel-64bit >= 2.0.5-bp150.3.6.1
  • libSDL_image-1_2-0 >= 1.2.12+hg695-bp150.3.3.1
  • libSDL_image-1_2-0-64bit >= 1.2.12+hg695-bp150.3.3.1
  • libSDL_image-devel >= 1.2.12+hg695-bp150.3.3.1
  • libSDL_image-devel-64bit >= 1.2.12+hg695-bp150.3.3.1
openSUSE Leap 15.0
  • libSDL2_image-2_0-0 >= 2.0.5-lp150.9.1
  • libSDL2_image-2_0-0-32bit >= 2.0.5-lp150.9.1
  • libSDL2_image-devel >= 2.0.5-lp150.9.1
  • libSDL2_image-devel-32bit >= 2.0.5-lp150.9.1
  • libSDL_image-1_2-0 >= 1.2.12+hg695-lp150.2.3.1
  • libSDL_image-1_2-0-32bit >= 1.2.12+hg695-lp150.2.3.1
  • libSDL_image-devel >= 1.2.12+hg695-lp150.2.3.1
  • libSDL_image-devel-32bit >= 1.2.12+hg695-lp150.2.3.1
openSUSE Leap 15.1
  • libSDL2_image-2_0-0 >= 2.0.5-lp151.2.5.1
  • libSDL2_image-2_0-0-32bit >= 2.0.5-lp151.2.5.1
  • libSDL2_image-devel >= 2.0.5-lp151.2.5.1
  • libSDL2_image-devel-32bit >= 2.0.5-lp151.2.5.1
  • libSDL_image-1_2-0 >= 1.2.12+hg695-lp151.3.3.1
  • libSDL_image-1_2-0-32bit >= 1.2.12+hg695-lp151.3.3.1
  • libSDL_image-devel >= 1.2.12+hg695-lp151.3.3.1
  • libSDL_image-devel-32bit >= 1.2.12+hg695-lp151.3.3.1
openSUSE Leap 15.2
  • libSDL2_image-2_0-0 >= 2.0.5-lp152.1.6
openSUSE Leap 15.2 GA libSDL2_image-2_0-0-2.0.5-lp152.1.2
openSUSE Tumbleweed
  • libSDL2_image-2_0-0 >= 2.0.5-1.14
  • libSDL2_image-2_0-0-32bit >= 2.0.5-1.14
  • libSDL2_image-devel >= 2.0.5-1.14
  • libSDL2_image-devel-32bit >= 2.0.5-1.14
  • libSDL_image-1_2-0 >= 1.2.12+hg695-1.12
  • libSDL_image-1_2-0-32bit >= 1.2.12+hg695-1.12
  • libSDL_image-devel >= 1.2.12+hg695-1.12
  • libSDL_image-devel-32bit >= 1.2.12+hg695-1.12

Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Module for Package Hub 15 SP5 SDL2_image Already fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 SDL2_image Already fixed
openSUSE Leap 15.5 SDL2_image Already fixed
openSUSE Leap 15.6 SDL2_image Already fixed
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Module for Package Hub 15 SP4 SDL2_image Already fixed
SUSE Package Hub 15 SDL2_image Released
SUSE Package Hub 15 SDL_image Released
SUSE Package Hub 15 SP1 SDL2_image Released
SUSE Package Hub 15 SP1 SDL_image Released
openSUSE Leap 15.3 SDL2_image Already fixed
openSUSE Leap 15.4 SDL2_image Already fixed

SUSE Timeline for this CVE

CVE page created: Thu Aug 1 02:23:19 2019
CVE page last modified: Tue Jul 2 18:22:03 2024