First published: Wed Jan 04 2017(Updated: )
Integer signedness error in the dynamicGetbuf function in gd_io_dp.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.
Credit: security@debian.org
Affected Software | Affected Version | How to fix |
---|---|---|
libgd | <=2.2.3 | |
PHP | <=5.6.27 | |
PHP | =7.0.0 | |
PHP | =7.0.1 | |
PHP | =7.0.2 | |
PHP | =7.0.3 | |
PHP | =7.0.4 | |
PHP | =7.0.5 | |
PHP | =7.0.6 | |
PHP | =7.0.7 | |
PHP | =7.0.8 | |
PHP | =7.0.9 | |
PHP | =7.0.10 | |
PHP | =7.0.11 | |
PHP | =7.0.12 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-8670 has a medium severity level due to its potential to cause denial of service through a stack-based buffer overflow.
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.
CVE-2016-8670 affects PHP versions prior to 5.6.28 and 7.x prior to 7.0.13.
The potential impacts of CVE-2016-8670 include denial of service attacks and possible undefined behaviors leading to further security risks.
Currently, the best course of action for CVE-2016-8670 is to apply the updates to the affected software rather than relying on workarounds.