Vulnerability in Libgd
CVE-2019-11038
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.043, 91.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgd — versions 2.2.5
- PHP
- PHP Group — versions 7.1.x < 7.1.30, 7.2.x < 7.2.19, 7.3.x < 7.3.6
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
- Fedoraproject Fedora — versions 29, 30, 32
- openSUSE Leap — versions 15.1
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Software Collections — versions 1.0
- SUSE Linux Enterprise Debuginfo — versions 11
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (arindam0310018/04-Apr-2022-DevOps__Scan-Images-In-ACR-Using-Trivy, ARPSyndicate/cvemon, juwisnie/AZDevops-TrivyScan-Pipe). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2019-be4f895015 (vendor-advisory)
- FEDORA-2019-8c4b25b5ec (vendor-advisory)
- [debian-lts-announce] 20190611 [SECURITY] [DLA 1817-1] libgd2 security update (mailing-list, Mailing List, Third Party Advisory)
- bugs.php.net/bug.php (Vendor Advisory)
- github.com/libgd/libgd/issues/501 (Exploit, Third Party Advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi (Mailing List, Third Party Advisory)
- bugzilla.suse.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- bugzilla.suse.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)