HIGH · 8.8

CVE-2019-5060

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, alloc...

Vulnerability 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 Score

8.8

HIGH

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
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
LibsdlSdl2 Image2.0.4
OpensuseBackports Sle15.0
OpensuseLeap15.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2019-5060?

CVE-2019-5060 is a vulnerability with a CVSS score of 8.8 (HIGH). 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, alloc...

How severe is CVE-2019-5060?

CVE-2019-5060 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2019-5060?

Check the references section above for vendor advisories and patch information. Affected products include: Libsdl Sdl2 Image, Opensuse Backports Sle, Opensuse Leap.