Name | CVE-2019-11038 |
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 | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1817-1, DSA-4529-1 |
Debian Bugs | 929821 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libgd2 (PTS) | jessie, jessie (lts) | 2.1.0-5+deb8u15 | fixed |
| stretch (security) | 2.2.4-2+deb9u4 | vulnerable |
| stretch (lts), stretch | 2.2.4-2+deb9u6 | fixed |
| buster (security), buster, buster (lts) | 2.2.5-5.2+deb10u1 | fixed |
| bullseye | 2.3.0-2 | fixed |
| bookworm | 2.3.3-9 | fixed |
| sid, trixie | 2.3.3-12 | fixed |
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | vulnerable |
php7.0 (PTS) | stretch (security) | 7.0.33-0+deb9u12 | fixed |
| stretch (lts), stretch | 7.0.33-0+deb9u19 | fixed |
php7.3 (PTS) | buster, buster (lts) | 7.3.31-1~deb10u8 | fixed |
| buster (security) | 7.3.31-1~deb10u7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libgd2 | source | jessie | 2.1.0-5+deb8u13 | | DLA-1817-1 | |
libgd2 | source | stretch | 2.2.4-2+deb9u5 | | | |
libgd2 | source | (unstable) | 2.2.5-5.2 | low | | 929821 |
php5 | source | (unstable) | (unfixed) | unimportant | | |
php7.0 | source | stretch | 7.0.33-0+deb9u5 | | DSA-4529-1 | |
php7.0 | source | (unstable) | (unfixed) | unimportant | | |
php7.3 | source | (unstable) | 7.3.6-1 | unimportant | | |
Notes
Fixed in 7.1.30, 7.2.19, 7.3.6
PHP Bug: https://bugs.php.net/bug.php?id=77973
https://github.com/libgd/libgd/issues/501
https://github.com/libgd/libgd/commit/e13a342c079aeb73e31dfa19eaca119761bac3f3