When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.
The code uses a variable that has not been initialized, leading to unpredictable or unintended results.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libgd | Libgd | 2.2.5 (including) | 2.2.5 (including) |
Php | Php | 7.1.0 (including) | 7.1.30 (excluding) |
Php | Php | 7.2.0 (including) | 7.2.19 (excluding) |
Php | Php | 7.3.0 (including) | 7.3.6 (excluding) |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php71-php-0:7.1.30-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php72-php-0:7.2.24-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-php71-php-0:7.1.30-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-php71-php-0:7.1.30-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-php72-php-0:7.2.24-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-php71-php-0:7.1.30-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-php72-php-0:7.2.24-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-php72-php-0:7.2.24-1.el7 | * |
Libgd2 | Ubuntu | bionic | * |
Libgd2 | Ubuntu | cosmic | * |
Libgd2 | Ubuntu | disco | * |
Libgd2 | Ubuntu | precise/esm | * |
Libgd2 | Ubuntu | trusty/esm | * |
Libgd2 | Ubuntu | upstream | * |
Libgd2 | Ubuntu | xenial | * |