CVE-2019-11038Libgd
Medium 5.3 No auth needed
Follow: this CVE · Libgd · Libgd We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Libgd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libgd | libgd | 2.2.5 |
| php | php | ≥ 7.1.0 < 7.1.30 |
| php | php | ≥ 7.2.0 < 7.2.19 |
| php | php | ≥ 7.3.0 < 7.3.6 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.10 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| fedoraproject | fedora | 29 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 32 |
| suse | linux_enterprise_debuginfo | 11 |
| opensuse | leap | 15.1 |
| suse | linux_enterprise_desktop | 12 |
| suse | linux_enterprise_server | 12 |
| suse | linux_enterprise_server | 12 |
| suse | linux_enterprise_software_development_kit | 12 |
| suse | linux_enterprise_software_development_kit | 12 |
| suse | linux_enterprise_workstation_extension | 12 |
| suse | linux_enterprise_workstation_extension | 12 |
| redhat | software_collections | 1.0 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugs.debian.org Mailing List Third Party Advisory
- bugs.php.net Vendor Advisory
- bugzilla.redhat.com Exploit Issue Tracking Third Party Advisory
- bugzilla.redhat.com Exploit Issue Tracking Third Party Advisory
- bugzilla.suse.com Exploit Issue Tracking Third Party Advisory
- bugzilla.suse.com Exploit Issue Tracking Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- seclists.org Mailing List Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory