Heap-based buffer overflow in Simple DirectMedia Layer - CVE-2018-3977
Published: November 20, 2018 / Updated: November 21, 2018
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
Gentoo Linux
Fedora
Debian Linux
Opensuse
Ubuntu
sdl-image1.2 (Debian package)
libsdl-image1.2 (Ubuntu package)
libsdl2-image (Debian package)
libsdl2-image-2.0-0 (Ubuntu package)
SDL2_image
mingw-SDL2_image
mingw-SDL2_mixer
mingw-SDL2
How to mitigate CVE-2018-3977
libsdl-image1.2 (Ubuntu package) - addressed in versions 1.2.12-5+deb9u1ubuntu0.16.04.1, 1.2.12-8ubuntu0.1
libsdl2-image (Debian package) - update to 2.0.0+dfsg-3+deb8u2
libsdl2-image-2.0-0 (Ubuntu package) - addressed in versions 2.0.1+dfsg-2+deb9u1ubuntu0.1~esm1, 2.0.3+dfsg1-1ubuntu0.1~esm1
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
- OpenSUSE Linux update for SDL2
- OpenSUSE Linux update for SDL2
- OpenSUSE Linux update for SDL2
- Gentoo update for SDL2_Image
- Fedora 28 update for SDL2_image
- Fedora 29 update for SDL2_image
- Fedora EPEL 7 update for SDL2_image
- Fedora 28 update for mingw-SDL2_image
- Fedora 29 update for mingw-SDL2_image
- Fedora EPEL 7 update for mingw-SDL2, mingw-SDL2_image, mingw-SDL2_mixer
- Ubuntu update for sdl-image1.2
- Debian update for libsdl2-image
- Debian update for sdl-image1.2
- Ubuntu update for libsdl2-image