CVE-2016-8670: Buffer Overflow

Published Jan 4, 2017
·
Updated

Integer signedness error in the dynamicGetbuf function in gdiodp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.

Affected Software

15 affected components
Libgd Libgd<=2.2.3
PHP PHP<=5.6.27
PHP PHP=7.0.0
PHP PHP=7.0.1
PHP PHP=7.0.2
PHP PHP=7.0.3
PHP PHP=7.0.4
PHP PHP=7.0.5
PHP PHP=7.0.6
PHP PHP=7.0.7
PHP PHP=7.0.8
PHP PHP=7.0.9
PHP PHP=7.0.10
PHP PHP=7.0.11
PHP PHP=7.0.12

Event History

Jan 4, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-8670?

CVE-2016-8670 has a medium severity level due to its potential to cause denial of service through a stack-based buffer overflow.

2

How do I fix CVE-2016-8670?

To fix CVE-2016-8670, upgrade the GD Graphics Library to version 2.2.4 or later, and ensure that PHP is updated to version 5.6.28 or 7.0.13 and above.

3

Which versions of PHP are affected by CVE-2016-8670?

CVE-2016-8670 affects PHP versions prior to 5.6.28 and 7.x prior to 7.0.13.

4

What are the potential impacts of CVE-2016-8670?

The potential impacts of CVE-2016-8670 include denial of service attacks and possible undefined behaviors leading to further security risks.

5

Is there any workaround for CVE-2016-8670?

Currently, the best course of action for CVE-2016-8670 is to apply the updates to the affected software rather than relying on workarounds.

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