CVE-2019-11038
Description
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.
How to fix
- php php7.1.30, 7.2.19, 7.3.6 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/
- access.redhat.com/errata/RHSA-2019:2519
- debian.org/security/2019/dsa-4529
- access.redhat.com/errata/RHSA-2019:3299
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- usn.ubuntu.com/4316-2/
- usn.ubuntu.com/4316-1/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libgd libgd | 2.2.5 | — |
| php php | 7.1.0 ≤ v < 7.1.30, 7.2.0 ≤ v < 7.2.19, 7.3.0 ≤ v < 7.3.6 | 7.1.30, 7.2.19, 7.3.6 |
| canonical ubuntu_linux | 14.04, 16.04, 18.04, 19.10 | — |
| debian debian_linux | 8.0, 9.0 | — |
| fedoraproject fedora | 29, 30, 32 | — |
| suse linux_enterprise_debuginfo | 11 | — |
| opensuse leap | 15.1 | — |
| suse linux_enterprise_desktop | 12 | — |
| suse linux_enterprise_server | 12 | — |
| suse linux_enterprise_software_development_kit | 12 | — |
| suse linux_enterprise_workstation_extension | 12 | — |
| redhat software_collections | 1.0 | — |
| redhat enterprise_linux | 7.0, 8.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.