CVE-2016-10166
publishedgd: Unsigned integer underflow _gdContributionsAlloc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | debian |
| Alpine Linux | v3.3 | gd | Fixed | 2.2.4-r0 | Package fix record |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u9 | DSA-3777-1 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-phpaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Alpine Linux | v3.4 | gd | Fixed | 2.2.4-r0 | Package fix record |
| Alpine Linux | v3.5 | gd | Fixed | 2.2.4-r0 | Package fix record |
| Alpine Linux | v3.5 | php5 | Fixed | 5.6.40-r0 | Package fix record |
| Alpine Linux | v3.7 | php7 | Fixed | 7.1.29-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-phpppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-phps390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-phpsrc | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-phpx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-bcmathaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-bcmathppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-bcmaths390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-bcmathx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-cliaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-clippc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-clis390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-clix86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-commonaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-commonppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-commons390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-commonx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbaaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbappc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbas390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbax86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbgaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbgppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbgs390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-dbgx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-debuginfoaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-debuginfoppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-debuginfos390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-debuginfox86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-develaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-develppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-devels390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-develx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-embeddedaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-embeddedppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-embeddeds390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-embeddedx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-enchantaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-enchantppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-enchants390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-enchantx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-fpmaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-fpmppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-fpms390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-fpmx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gdaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gdppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gds390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gdx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gmpaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gmpppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gmps390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-gmpx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-intlaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-intlppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-intls390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-intlx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-jsonaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-jsonppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-jsons390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-jsonx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-ldapaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-ldapppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-ldaps390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-ldapx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mbstringaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mbstringppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mbstrings390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mbstringx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mysqlndaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mysqlndppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mysqlnds390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-mysqlndx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-odbcaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-odbcppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-odbcs390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-odbcx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-opcacheaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-opcacheppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-opcaches390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-opcachex86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pdoaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pdoppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pdos390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pdox86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pgsqlaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pgsqlppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pgsqls390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pgsqlx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-processaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-processppc64le | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-processs390x | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-processx86_64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php71-php-pspellaarch64 | Advisory build | 7.1.30-1.el7 | RHSA-2019:2519 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing the u variable.
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) | debian · cna |
Weaknesses
1- n/a
References
8- http://libgd.github.io/release-2.2.4.html
- DSA-3777 http://www.debian.org/security/2017/dsa-3777
- [oss-security] 20170126 CVE Requests: libgd: potential unsigned onderflow, denial-of-service in gdImageCreateFromGd2Ctx and signed overflow in gd_io.c http://www.openwall.com/lists/oss-security/2017/01/26/1
- [oss-security] 20170128 Re: CVE Requests: libgd: potential unsigned onderflow, denial-of-service in gdImageCreateFromGd2Ctx and signed overflow in gd_io.c http://www.openwall.com/lists/oss-security/2017/01/28/6
- 95869 http://www.securityfocus.com/bid/95869
- RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519
- RHSA-2019:3299 https://access.redhat.com/errata/RHSA-2019:3299
- https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35
Provider assertions
2debian · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 94dcbf59b7639bf2dabd2141d3c0e5e93393bfe99a4d53d2a5e04c936a9060cc
- Ingested
- 23 Sep 2026, 07:41:02 UTC
- Source record
- Official CVE record