# CVE-2019-11038: libgd3: When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD ex...

CVE-2019-11038 is fixed in 2 products on 1 platform, first by libgd-tools 2.2.5-4ubuntu0.4, released February 11, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-11038
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0433
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libgd-tools Ubuntu 18.04.6 LTS (bionic) | 2.2.5-4ubuntu0.4 | [libgd-tools 2.2.5-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgd-tools-2.2.5-4ubuntu0.4.md) | Feb 11, 2020 |
| Linux | libgd3 Ubuntu 18.04.6 LTS (bionic) | 2.2.5-4ubuntu0.4 | [libgd3 2.2.5-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgd3-2.2.5-4ubuntu0.4.md) | Feb 11, 2020 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
