Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-665-1, DSA-3693-1 |
Debian Bugs | 840805 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libgd2 (PTS) | jessie, jessie (lts) | 2.1.0-5+deb8u15 | fixed |
stretch (security) | 2.2.4-2+deb9u4 | fixed | |
stretch (lts), stretch | 2.2.4-2+deb9u6 | fixed | |
buster (security), buster, buster (lts) | 2.2.5-5.2+deb10u1 | fixed | |
bullseye | 2.3.0-2 | fixed | |
bookworm | 2.3.3-9 | fixed | |
sid, trixie | 2.3.3-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libgd2 | source | wheezy | 2.0.36~rc1~dfsg-6.1+deb7u6 | DLA-665-1 | ||
libgd2 | source | jessie | 2.1.0-5+deb8u7 | DSA-3693-1 | ||
libgd2 | source | (unstable) | 2.2.3-87-gd0fec80-1 | 840805 |
PHP Bug: https://bugs.php.net/bug.php?id=73280
https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9
https://www.openwall.com/lists/oss-security/2016/10/15/1