Double free error in GD Graphics Library - CVE-2018-1000222

 

Double free error in GD Graphics Library - CVE-2018-1000222

Published: September 3, 2018 / Updated: September 3, 2018


Vulnerability identifier: #VU14596
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-1000222
CWE-ID: CWE-415
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 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

GD Graphics Library
Gentoo Linux
Slackware Linux
Opensuse
Fedora
gd (Alpine package)
gd

How to mitigate CVE-2018-1000222

Install update from vendor's website.

gd (Alpine package) - update to 2.2.5-r1
gd - addressed in versions 2.2.5-6.fc27, 2.2.5-6.fc28, 2.3.0-1.fc32

External References

Related Security Bulletins