Use of Uninitialized Resource Affecting libgd2 package, versions <2.1.0-3ubuntu0.11+esm1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.37% (73rd 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-UBUNTU1404-LIBGD2-557195
  • published9 Jun 2019
  • disclosed19 Jun 2019

Introduced: 9 Jun 2019

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

How to fix?

Upgrade Ubuntu:14.04 libgd2 to version 2.1.0-3ubuntu0.11+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgd2 package and not the libgd2 package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 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 Scores

version 3.1