CVE-2019-11038: Canonical Ubuntu Linux

Medium severity, CVSS 5.3. EPSS: 4.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • PHP, from 7.1.0, before 7.1.30: fixed in 7.1.30
  • PHP, from 7.2.0, before 7.2.19: fixed in 7.2.19
  • PHP, from 7.3.0, before 7.3.6: fixed in 7.3.6

Affected products

Published 2019-06-19. Last modified 2026-06-17.