Buffer overflow in Simple DirectMedia Layer - CVE-2019-12221
Published: July 22, 2019 / Updated: March 7, 2023
Vulnerability details
The vulnerability allows a remote attacker to crash the application.
The vulnerability exists due to a boundary error when processing images in the SDL_free_REAL() function at stdlib/SDL_malloc.c. A remote attacker can create a specially crafted image, trick the victim into opening it, trigger memory corruption and perform a denial of service (DoS) attack.
Affected software
sdl2_image (Alpine package)
SDL2_image
mingw-SDL2
SUSE Linux
Opensuse
Fedora
How to mitigate CVE-2019-12221
SDL2_image - update to 2.0.5-2.fc29
mingw-SDL2 - update to 2.0.10-1.fc31