Improper input validation in GD Graphics Library - CVE-2016-10167

 

Improper input validation in GD Graphics Library - CVE-2016-10167

Published: July 19, 2017


Vulnerability identifier: #VU7575
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10167
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation when processing images in gdImageCreateFromGd2Ctx() function in gd_gd2.c. A remote attacker can supply a malformed image and crash the application, using the affected library.

Affected software

GD Graphics Library
Amazon Linux AMI
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power
SUSE Linux
Slackware Linux
Fedora
gd (Alpine package)
libwmf

How to mitigate CVE-2016-10167

Update to version 2.2.4.

gd (Alpine package) - update to 2.2.4-r0
libwmf - addressed in versions 0.2.8.4-50.fc24, 0.2.8.4-50.fc25

External References

Related Security Bulletins