Double free error in GD Graphics Library - CVE-2018-1000222
Published: September 3, 2018 / Updated: September 3, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to double free memory error. A remote unauthenticated attacker can trick the victim into jpeg 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
Slackware Linux
Ubuntu
Opensuse
Fedora
gd (Alpine package)
libgd3 (Ubuntu package)
libgd-tools (Ubuntu package)
gd
How to mitigate CVE-2018-1000222
libgd3 (Ubuntu package) - addressed in versions 2.1.0-3ubuntu0.10, 2.1.1-4ubuntu0.16.04.10, 2.2.5-4ubuntu0.2
libgd-tools (Ubuntu package) - addressed in versions 2.1.0-3ubuntu0.10, 2.1.1-4ubuntu0.16.04.10, 2.2.5-4ubuntu0.2
gd - addressed in versions 2.2.5-6.fc27, 2.2.5-6.fc28, 2.3.0-1.fc32
External References
Related Security Bulletins
- Remote code execution in GD Graphics Library
- OpenSUSE Linux update for gd
- OpenSUSE Linux update for gd
- OpenSUSE Linux update for php7
- Gentoo update for GD
- Slackware Linux update for gd
- Double free error in gd (Alpine package)
- Fedora 28 update for gd
- Fedora 27 update for gd
- Fedora 32 update for gd
- Ubuntu update for libgd2