CVE-2019-5059

HIGHCVSS 8.8/10EPSS 3.62%

Last modified

CVE-2019-5059 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 3.62% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
3.62%

88.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-5059?
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.
How severe is CVE-2019-5059?
CVE-2019-5059 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 3.62% probability of exploitation in the next 30 days.
How do I fix CVE-2019-5059?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-5059?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST