Buffer overflow in Simple DirectMedia Layer - CVE-2019-12221

 

Buffer overflow in Simple DirectMedia Layer - CVE-2019-12221

Published: July 22, 2019 / Updated: March 7, 2023


Vulnerability identifier: #VU19294
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2019-12221
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: zlib license
Affected software:
Simple DirectMedia Layer

Detailed vulnerability description

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.


How to mitigate CVE-2019-12221

Install update from vendor's website.

Sources