Heap-based buffer overflow in Simple DirectMedia Layer - CVE-2018-3977

 

Heap-based buffer overflow in Simple DirectMedia Layer - CVE-2018-3977

Published: November 20, 2018 / Updated: November 21, 2018


Vulnerability identifier: #VU15994
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-3977
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to heap-based buffer overflow in the XCF image rendering functionality. A remote unauthenticated attacker can supply a specially crafted XCF image, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Simple DirectMedia Layer
Gentoo Linux
Fedora
Opensuse
SDL2_image
mingw-SDL2_image
mingw-SDL2_mixer
mingw-SDL2

How to mitigate CVE-2018-3977

Install update from vendor's website.

SDL2_image - addressed in versions 2.0.4-1.el7, 2.0.4-1.fc28, 2.0.4-1.fc29
mingw-SDL2_image - addressed in versions 2.0.4-1.el7, 2.0.4-1.fc28, 2.0.4-1.fc29
mingw-SDL2_mixer - update to 2.0.4-1.el7
mingw-SDL2 - update to 2.0.9-1.el7

External References

Related Security Bulletins