Live threats

All CVEs / Libgd

CVE-2019-11038Libgd

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
4.3%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Jun 19, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-457, CWE-908
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgdlibgd2.2.5
phpphp≥ 7.1.0 < 7.1.30
phpphp≥ 7.2.0 < 7.2.19
phpphp≥ 7.3.0 < 7.3.6
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.10
debiandebian_linux8.0
debiandebian_linux9.0
fedoraprojectfedora29
fedoraprojectfedora30
fedoraprojectfedora32
suselinux_enterprise_debuginfo11
opensuseleap15.1
suselinux_enterprise_desktop12
suselinux_enterprise_server12
suselinux_enterprise_server12
suselinux_enterprise_software_development_kit12
suselinux_enterprise_software_development_kit12
suselinux_enterprise_workstation_extension12
suselinux_enterprise_workstation_extension12
redhatsoftware_collections1.0
redhatenterprise_linux7.0
redhatenterprise_linux8.0

Official sources

References

Links published by the sources. Open them with care.