CVE-2019-11038
Uninitialized read in gdImageCreateFromXbm
Reported by php · Published June 18, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php7 | Alpine | 7.1.30-r0 |
| gd | Alpine | 2.3.0-r0, 2.2.5-r3 |
| php | php | 7.3.6, 7.2.19, 7.1.30 |
| libgd2 | Ubuntu:18.04:LTS | 2.2.5-4ubuntu0.4 |
| libgd2 | Ubuntu:16.04:LTS | 2.1.1-4ubuntu0.16.04.12 |
| libgd2 | Ubuntu:Pro:14.04:LTS | 2.1.0-3ubuntu0.11+esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 7.1.x < 7.1.30, 7.2.x < 7.2.19, 7.3.x < 7.3.6 |
| alpine | php7 | 0 |
| alpine | gd | 0, 0 |
| PHP Group | PHP | 7.1.x < 7.1.30, 7.2.x < 7.2.19, 7.3.x < 7.3.6 |
Timeline
- Jun 18, 2019 CVE Published
- Oct 10, 2020 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 6, 2026 Security Advisory (8 in total, the first dated here)
- Sep 16, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-11038
vulnetix vdb fixes CVE-2019-11038
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11038/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2019-be4f895015 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-8c4b25b5ec vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20190611 [SECURITY] [DLA 1817-1] libgd2 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- DSA-4529 vendor-advisoryx_refsource_DEBIAN
- 20190923 [SECURITY] [DSA 4529-1] php7.0 security update mailing-listx_refsource_BUGTRAQ
- RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2020:0332 vendor-advisoryx_refsource_SUSE
- FEDORA-2020-e795f92d79 vendor-advisoryx_refsource_FEDORA
- USN-4316-2 vendor-advisoryx_refsource_UBUNTU
- USN-4316-1 vendor-advisoryx_refsource_UBUNTU