CVE-2016-10167: Input Validation

Published Jan 19, 2017
·
Updated

Fixed bug (DOS vulnerability in gdImageCreateFromGd2Ctx()). (CVE-2016-10167)

Other sources

Possible DoS vulnerability in gdImageCreateFromGd2Ctx() was found.

Upstream patch:

https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f

PHP bug:

https://bugs.php.net/bug.php?id=73868

CVE assignment:

http://www.openwall.com/lists/oss-security/2017/01/28/6

— Red Hat

The gdImageCreateFromGd2Ctx function in gdgd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.

— MITRE

Affected Software

6 affected componentsFixes available
redhat/gd<2.2.4
2.2.4
redhat/php<5.6.30
5.6.30
redhat/php<7.0.15
7.0.15
redhat/php<7.1.1
7.1.1
Libgd Libgd<=2.2.3
PHP PHP<7.0.15
7.0.15

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/gd to a version that resolves this vulnerability.

    Fixed in 2.2.4
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 5.6.30
  3. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.0.15
  4. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.1.1
  5. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.0.15
  6. Upgrade

    Upgrade libgd to a version that resolves this vulnerability.

    Fixed in 2.2.4

Event History

Jan 19, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionAffected Software
Updated
12:00 AM
Affected Software
Feb 3, 2017
Data Sourced
11:07 AM
Severity
Mar 15, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 4, 2018
Data Sourced
01:29 AM
RemedyWeakness
Mar 11, 2021
Data Sourced
via Red Hat·02:56 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-10167?

CVE-2016-10167 is categorized as a denial of service vulnerability that can cause application crashes.

2

How do I fix CVE-2016-10167?

To fix CVE-2016-10167, you should upgrade to GD Graphics Library version 2.2.4 or higher.

3

Which versions of the GD Graphics Library are affected by CVE-2016-10167?

CVE-2016-10167 affects GD Graphics Library versions before 2.2.4.

4

What applications are impacted by CVE-2016-10167?

Applications using vulnerable versions of the GD Graphics Library, including those bundled with PHP, are impacted by CVE-2016-10167.

5

Can CVE-2016-10167 be exploited remotely?

Yes, CVE-2016-10167 can be exploited by remote attackers through crafted image files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203