CVE-2016-9933
publishedgd: Stack overflow in gdImageFillToBorder on truecolor images
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u8 | DSA-3751-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP4 | gd-develi586 | Advisory build | 2.0.36.RC1-52.29.1 | SUSE-SU-2016:3251-1 |
| Debian | jessie | php5 | Advisory build | 5.6.28+dfsg-0+deb8u1 | DSA-3732-1 |
| Debian | wheezy | libgd2 | Advisory build | 2.0.36~rc1~dfsg-6.1+deb7u7 | DLA-758-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-imapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-tidyx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP4 | gd-develia64 | Advisory build | 2.0.36.RC1-52.29.1 | SUSE-SU-2016:3251-1 |
| SUSE / openSUSE | SLE-11-SP4 | gd-develppc64 | Advisory build | 2.0.36.RC1-52.29.1 | SUSE-SU-2016:3251-1 |
| SUSE / openSUSE | SLE-11-SP4 | gd-devels390x | Advisory build | 2.0.36.RC1-52.29.1 | SUSE-SU-2016:3251-1 |
| SUSE / openSUSE | SLE-11-SP4 | gd-develx86_64 | Advisory build | 2.0.36.RC1-52.29.1 | SUSE-SU-2016:3251-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develi586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-devels390x | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-develx86_64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapi586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imaps390x | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-imapx86_64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixi586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixs390x | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-posixx86_64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlinei586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlineia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlineppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlines390x | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-readlinex86_64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsi586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketss390x | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-socketsx86_64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-sqlitei586 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-sqliteia64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
| SUSE / openSUSE | SLE-11-SP4 | php53-sqliteppc64 | Advisory build | 5.3.17-94.1 | SUSE-SU-2017:0109-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (segmentation violation) via a crafted imagefilltoborder call that triggers use of a negative color value.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
15- openSUSE-SU-2016:3228 http://lists.opensuse.org/opensuse-updates/2016-12/msg00133.html
- openSUSE-SU-2016:3239 http://lists.opensuse.org/opensuse-updates/2016-12/msg00142.html
- openSUSE-SU-2017:0006 http://lists.opensuse.org/opensuse-updates/2017-01/msg00002.html
- openSUSE-SU-2017:0061 http://lists.opensuse.org/opensuse-updates/2017-01/msg00034.html
- openSUSE-SU-2017:0081 http://lists.opensuse.org/opensuse-updates/2017-01/msg00054.html
- DSA-3751 http://www.debian.org/security/2017/dsa-3751
- [oss-security] 20161212 CVE assignment for PHP 5.6.28, 5.6.29, 7.0.13, 7.0.14 and 7.1.0 http://www.openwall.com/lists/oss-security/2016/12/12/2
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
- 94865 http://www.securityfocus.com/bid/94865
- RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=72696
- https://github.com/libgd/libgd/commit/77f619d48259383628c3ec4654b1ad578e9eb40e
- https://github.com/libgd/libgd/issues/215
- https://github.com/php/php-src/commit/863d37ea66d5c960db08d6f4a2cbd2518f0f80d1
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- de56a0809cc4c64a061a12d913bef2aa853713a06e3d4e5d24d7fcc757cd1f68
- Ingested
- 23 Sep 2026, 07:41:42 UTC
- Source record
- Official CVE record