CVE-2019-11038: When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PH
56
This week
MEDIUM 5.3REMOTEWATCHLISTDOWNGRADEUPGRADEMITIGATE
CVE-2019-11038 is a medium-severity flaw (CVSS 5.3) affecting libgd, php, ubuntu linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-11038?
libgd: downgrade or apply the listed mitigation; php: upgrade to 7.1.30, 7.2.19, 7.3.6; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-11038 being exploited?
CVE-2019-11038 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-11038 affect?
CVE-2019-11038 affects libgd, php, ubuntu linux. Severity is medium (CVSS 5.3). 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 wi
How urgent is CVE-2019-11038?
Priority 56/100. EPSS top 9%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
CVE-2021-40812MEDIUM 6.5UPGRADE The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdG
CVE-2021-40145HIGH 7.5UPGRADE gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free
CVE-2021-38115MEDIUM 6.5UPGRADE read_header_tga in gd_tga.c in the GD Graphics Library (aka LibGD) through 2.3.2 allows remote attackers to ca
CVE-2019-6978CRITICAL 9.8DOWNGRADEMITIGATE The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd
CVE-2019-6977HIGH 8.8DOWNGRADEUPGRADE gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolorm