First published: Wed Jul 31 2019(Updated: )
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.
Credit: talos-cna@cisco.com
Affected Software | Affected Version | How to fix |
---|---|---|
Libsdl Sdl2 Image | =2.0.4 | |
openSUSE Backports SLE | =15.0 | |
openSUSE Backports SLE | =15.0-sp1 | |
openSUSE Leap | =15.0 | |
openSUSE Leap | =15.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2019-5060.
The severity level of CVE-2019-5060 is high (8.8).
Libsdl Sdl2 Image version 2.0.4 and openSUSE Backports SLE versions 15.0 and 15.0-sp1 are affected.
By using a specially crafted XPM image, an attacker can trigger an integer overflow in the colorhash function, leading to a heap overflow.
Yes, you can find references for CVE-2019-5060 at http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html, http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00014.html, and http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html.