Vulnerabilities · 2019 · Libgd
CVE-2019-11038
Libgd vulnerability
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
Libgd, Php, Ubuntu Linux, Debian Linux, Fedora, Linux Enterprise Debuginfo, Leap, Linux Enterprise Desktop, Linux Enterprise Server, Linux Enterprise Software Development Kit and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libgd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=77973 · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:2519 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:3299 · Third Party Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=1724149 · Exploit
- bugzilla.redhat.com/show_bug.cgi?id=1724432 · Exploit
- bugzilla.suse.com/show_bug.cgi?id=1140118 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2019-11038
- cve.org/CVERecord?id=CVE-2019-11038
More vulnerabilities in Libgd products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.