Back

MEDIUM

Uninitialized read in gdImageCreateFromXbm

Published Jun 18, 2019

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 products

Remediation

Red Hat statement

In order to successfully exploit this vulnerability, the following prerequisites must be fulfilled: * An attacker needs to supply a maliciously crafted XBM image designed to exploit the uninitialized variable in the gdImageCreateFromXbm() function. * The application or service must accept and process XBM images using the vulnerable gdImageCreateFromXbm() function. * User interaction is required to process the malicious XBM file. It's important to note that successful exploitation requires that the application processes untrusted XBM image data using the vulnerable function. As this is not common practice, RH ProdSec has set the Impact of this vulnerability to "Low"

Metrics

References (21)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner php
Published Jun 18, 2019
Updated Sep 16, 2024
Reserved Apr 9, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Jun 18, 2019