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

Severity
8.8HIGHNVD
EPSS
1.0%
top 23.12%
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 functionality of SDL2_image 2.0.4. A specially crafted XPM image can cause an integer overflow, 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-g82w-w3fp-3m77: An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 22022-05-24
OSV
CVE-2019-5059: An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 22019-07-31
CVEList
CVE-2019-5059: An exploitable code execution vulnerability exists in the XPM image rendering functionality of SDL2_image 22019-07-31

📋Vendor Advisories

1
Debian
CVE-2019-5059: libsdl2-image - An exploitable code execution vulnerability exists in the XPM image rendering fu...2019

💬Community

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