CVE-2019-5060

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLibsdl Sdl2 Image
PublishedJul 31, 2019
First seenJul 31, 2019

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
libsdl sdl2_image2.0.4—
opensuse backports_sle15.0—
opensuse leap15.0, 15.1—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2019-5060 · Libsdl Sdl2 Image · Dark Radar