PT-2019-17444 · Sdl+2 · Sdl2 Image+2
Published
2019-06-11
·
Updated
2022-06-27
·
CVE-2019-5059
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
SDL2 image version 2.0.4
Description
A code execution issue exists in the XPM image rendering functionality. 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 issue.
Recommendations
For SDL2 image version 2.0.4, consider disabling the XPM image rendering functionality until a patch is available. Restrict the use of specially crafted XPM images to minimize the risk of exploitation.
Fix
Memory Corruption
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Sdl2 Image
Suse