CVE-2019-5060: Integer Overflow

Published Jul 31, 2019
·
Updated

An exploitable code execution vulnerability exists in the XPM image rendering function of SDL2image 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.

Affected Software

5 affected components
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

Event History

Jul 31, 2019
CVE Published
via MITRE·04:51 PM
Data Sourced
via MITRE·04:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID of this exploit?

The vulnerability ID is CVE-2019-5060.

2

What is the severity level of CVE-2019-5060?

The severity level of CVE-2019-5060 is high (8.8).

3

Which software is affected by CVE-2019-5060?

Libsdl Sdl2 Image version 2.0.4 and openSUSE Backports SLE versions 15.0 and 15.0-sp1 are affected.

4

How can the vulnerability CVE-2019-5060 be exploited?

By using a specially crafted XPM image, an attacker can trigger an integer overflow in the colorhash function, leading to a heap overflow.

5

Are there any references available for CVE-2019-5060?

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203