Name | CVE-2016-7128 |
Description | The exif_process_IFD_in_TIFF function in ext/exif/exif.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles the case of a thumbnail offset that exceeds the file size, which allows remote attackers to obtain sensitive information from process memory via a crafted TIFF image. |
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-749-1, DSA-3689-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
php7.0 (PTS) | stretch (security) | 7.0.33-0+deb9u12 | fixed |
| stretch (lts), stretch | 7.0.33-0+deb9u19 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php5 | source | wheezy | 5.4.45-0+deb7u6 | | DLA-749-1 | |
php5 | source | jessie | 5.6.26+dfsg-0+deb8u1 | | DSA-3689-1 | |
php5 | source | (unstable) | 5.6.26+dfsg-1 | | | |
php7.0 | source | (unstable) | 7.0.10-1 | | | |
Notes
PHP Bug: https://bugs.php.net/bug.php?id=72627
Fixed in 7.0.10, 5.6.25
https://www.openwall.com/lists/oss-security/2016/09/02/5
https://github.com/php/php-src/commit/6dbb1ee46b5f4725cc6519abf91e512a2a10dfed?w=1