What’s Vulnerable › Vulnerabilities

CVE-2019-11038: Uninitialized read in gdImageCreateFromXbm

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.

Affected products

How to fix

Upgrade to a fixed version: PHP 7.1.30, 7.2.19, 7.3.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-11038 or the next vulnerability affects your stack