Remote code execution in GD Graphics Library

Published: 2018-09-03
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-1000222
Exploitation vector Network
Public exploit N/A
Vulnerable software
GD Graphics Library
Universal components / Libraries / Libraries used by multiple products

Vendor Boutell.Com, Inc.

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Double free error

EUVDB-ID: #VU14596

Risk: High

CVSSv3.1: 8.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-1000222

CWE-ID: CWE-415 - Double Free

Exploit availability: No


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.


Install update from vendor's website.

Vulnerable software versions

GD Graphics Library: 2.2.5

External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.