Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.
The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Openshift | Redhat | 2.0 (including) | 2.0 (including) |
Red Hat Enterprise Linux 7 | RedHat | php-0:5.4.16-42.el7 | * |
Red Hat Enterprise Linux 7 | RedHat | gd-0:2.0.35-27.el7_9 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-php56-0:2.3-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-php56-php-0:5.6.25-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-php56-php-pear-1:1.9.5-4.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-php56-0:2.3-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-php56-php-0:5.6.25-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-php56-php-pear-1:1.9.5-4.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php56-0:2.3-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php56-php-0:5.6.25-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php56-php-pear-1:1.9.5-4.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | RedHat | rh-php56-0:2.3-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | RedHat | rh-php56-php-0:5.6.25-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | RedHat | rh-php56-php-pear-1:1.9.5-4.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-php56-0:2.3-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-php56-php-0:5.6.25-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-php56-php-pear-1:1.9.5-4.el7 | * |
Libgd2 | Ubuntu | devel | * |
Libgd2 | Ubuntu | precise | * |
Libgd2 | Ubuntu | trusty | * |
Libgd2 | Ubuntu | wily | * |
Libgd2 | Ubuntu | xenial | * |
Php5 | Ubuntu | upstream | * |
Php7.0 | Ubuntu | upstream | * |