Use of Uninitialized Resource Affecting gd package, versions <2.2.5-4.14.1


Severity

Recommended
low

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
4.33% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES151-GD-2715610
  • published14 Apr 2022
  • disclosed5 Mar 2020

Introduced: 5 Mar 2020

CVE-2019-11038  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 gd to version 2.2.5-4.14.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gd package and not the gd package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1