NULL pointer dereference in Simple DirectMedia Layer - CVE-2019-12218
Published: July 22, 2019 / Updated: March 7, 2023
Vulnerability identifier: #VU19290
CSH Severity: Low
CVSS v4: 4.6 [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]
CVE-ID: CVE-2019-12218
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dreference error in SDL2_image function IMG_LoadPCX_RW at IMG_pcx.c. A remote attacker can perform a denial of service (DoS) attack.
Affected software
Simple DirectMedia Layer
sdl2_image (Alpine package)
SDL2_image
mingw-SDL2
SUSE Linux
Opensuse
Fedora
sdl2_image (Alpine package)
SDL2_image
mingw-SDL2
SUSE Linux
Opensuse
Fedora
How to mitigate CVE-2019-12218
Install update from vendor's website.
sdl2_image (Alpine package) - update to 2.0.5-r0
SDL2_image - update to 2.0.5-2.fc29
mingw-SDL2 - update to 2.0.10-1.fc31
SDL2_image - update to 2.0.5-2.fc29
mingw-SDL2 - update to 2.0.10-1.fc31