CVE-2019-11038

Uninitialized read in gdImageCreateFromXbm

MEDIUM
5.3
CVSS Score
Published: June 18, 2019 at 11:28 PM UTC
Updated: June 17, 2026 at 02:12 AM UTC
13 products affected across 8 vendorsDebian LinuxFedoraUbuntu Linux

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 4%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.1 ≤ v < 7.1.307.1.0 ≤ v < 7.1.307.2 ≤ v < 7.2.197.2.0 ≤ v < 7.2.197.3 ≤ v < 7.3.67.3.0 ≤ v < 7.3.6
Affected range stops below 7.1.30, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.6, so it looks safe — our inference, not a vendor statement

References (18)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:2519
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:3299
x_refsource_CONFIRMMailing ListThird Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821
x_refsource_CONFIRMVendor Advisory
https://bugs.php.net/bug.php?id=77973
x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1724149
x_refsource_MISCExploitIssue TrackingThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1724432
x_refsource_CONFIRMExploitIssue TrackingThird Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1140118

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-457CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card