CVE-2019-5060Integer Overflow or Wraparound in Sdl2 Image

Severity
8.8HIGHNVD
EPSS
1.3%
top 19.92%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 31
Latest updateMay 24

Description

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 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages4 packages

CVEListV5red_hat/sdlSDL_image 2.0.4
NVDopensuse/leap15.0, 15.1+1

🔴Vulnerability Details

3
GHSA
GHSA-qr2r-966r-5p23: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 22022-05-24
OSV
CVE-2019-5060: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 22019-07-31
CVEList
CVE-2019-5060: An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2_image 22019-07-31

📋Vendor Advisories

2
Cisco
Cisco IOS XE Software NAT Session Initiation Protocol Application Layer Gateway Denial of Service Vulnerability2019-09-25
Debian
CVE-2019-5060: libsdl2-image - An exploitable code execution vulnerability exists in the XPM image rendering fu...2019

💬Community

5
Bugzilla
CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]2019-08-09
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [fedora-all]2019-08-09
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-7]2019-08-09
Bugzilla
CVE-2019-5060 mingw-SDL2_image: SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function [epel-all]2019-08-09
Bugzilla
CVE-2019-5060 SDL2_image: exploitable code execution in the XPM image rendering leads to an integer overflow in the colorhash function2019-08-09
CVE-2019-5060 — Integer Overflow or Wraparound | cvebase