CVE-2019-11038 in Canonical Ubuntu Linux and 12 more products
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 le...
Affects 13 products from 8 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 19.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Fedoraproject | Fedora | 29 30 32 |
| Libgd | Libgd | 2.2.5 |
| Opensuse | Leap | 15.1 |
| Php | Php | ≥ 7.1.0, < 7.1.30 ≥ 7.2.0, < 7.2.19 ≥ 7.3.0, < 7.3.6 |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Redhat | Software Collections | 1.0 |
| Suse | Linux Enterprise Debuginfo | 11 |
| Suse | Linux Enterprise Desktop | 12 |
| Suse | Linux Enterprise Server | 12 |
| Suse | Linux Enterprise Software Development Kit | 12 |
| Suse | Linux Enterprise Workstation Extension | 12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-11038 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-026308-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2019-06-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-457: CWE-457
CWE-908: CWE-908
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Canonical systems (CVE-2019-11038). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Questions
What is CVE-2019-11038?
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Canonical systems (CVE-2019-11038). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2019-11038?
CVE-2019-11038 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 4.2%.
Is CVE-2019-11038 actively exploited?
No confirmed active exploitation of CVE-2019-11038 as of 2026-06-22.
How do I remediate CVE-2019-11038?
Priority: MONITOR. Advisory: https://bugs.php.net/bug.php?id=77973 PSIRT: [email protected]
What systems are affected by CVE-2019-11038?
CVE-2019-11038 affects Canonical Ubuntu Linux; Debian Debian Linux; Fedoraproject Fedora; Libgd Libgd; Opensuse Leap; Php Php; Redhat Enterprise Linux, Software Collections; Suse Linux Enterprise Debuginfo, Linux Enterprise Desktop (plus 3 more products).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.