Buffer overflow in sdl2_image - CVE-2019-5057

 

Buffer overflow in sdl2_image - CVE-2019-5057

Published: July 31, 2019 / Updated: August 4, 2020


Vulnerability identifier: #VU33391
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-5057
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

An exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX image can cause a heap overflow, resulting in code execution. An attacker can display a specially crafted image to trigger this vulnerability.


Affected software

sdl2_image
sdl2_image (Alpine package)
SUSE Linux
Opensuse

How to mitigate CVE-2019-5057

Install update from vendor's website.

sdl2_image - update to 2.0.5
sdl2_image (Alpine package) - update to 2.0.5-r0

External References

Related Security Bulletins