CVE-2016-10168: Integer Overflow

Published Jan 19, 2017
·
Updated

An integer overflow in gdio.c was found.

Upstream patch:

https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6

PHP bug:

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

CVE assignment:

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

Other sources

Fixed bug (Signed Integer Overflow gdio.c). (CVE-2016-10168)

PHP

Integer overflow in gdio.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.

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

Event History

Jan 19, 2017
CVE Published
via PHP·12:00 AM
Mar 15, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-10168?

CVE-2016-10168 has a medium severity rating due to the potential for integer overflow vulnerabilities.

2

How do I fix CVE-2016-10168?

To fix CVE-2016-10168, upgrade the GD Graphics Library to version 2.2.4 or higher.

3

What systems are affected by CVE-2016-10168?

CVE-2016-10168 affects versions of the GD Graphics Library prior to 2.2.4 and certain versions of PHP.

4

What types of attacks could exploit CVE-2016-10168?

An attacker could exploit CVE-2016-10168 by crafting a malicious image that triggers integer overflow, leading to potential denial of service.

5

Is CVE-2016-10168 still a concern for modern systems?

Although CVE-2016-10168 has been patched, systems running outdated versions may still be at risk if not updated.

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