CVE-2016-8670
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-8670
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-8670.html
Vendor advisory: security@debian.org — https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9
Vendor advisory: security@debian.org — https://bugs.php.net/bug.php?id=73280
Vendor advisory: security@debian.org — http://www.php.net/ChangeLog-7.php
Vendor advisory: security@debian.org — http://www.php.net/ChangeLog-5.php
Vendor advisory: arch — https://security.archlinux.org/ASA-201611-19
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| arch | fixed | 7.0.13-1 | |
| debian | bookworm | fixed | 2.2.3-87-gd0fec80-1 |
| debian | bullseye | fixed | 2.2.3-87-gd0fec80-1 |
| debian | forky | fixed | 2.2.3-87-gd0fec80-1 |
| debian | sid | fixed | 2.2.3-87-gd0fec80-1 |
| debian | trixie | fixed | 2.2.3-87-gd0fec80-1 |
References
- https://security.archlinux.org/ASA-201611-19
- http://www.debian.org/security/2016/dsa-3693
- http://www.openwall.com/lists/oss-security/2016/10/15/1
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/93594
- https://bugs.php.net/bug.php?id=73280
- https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9
- https://support.f5.com/csp/article/K21336065?utm_source=f5support&%3Butm_medium=RSS
- https://www.suse.com/security/cve/CVE-2016-8670.html
- https://security-tracker.debian.org/tracker/CVE-2016-8670
CWEs
CWE-119
Verify integrity in audit chain (admin only). AS-IS.