Name | CVE-2016-4540 |
Description | The grapheme_stripos function in ext/intl/grapheme/grapheme_string.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset. |
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-499-1, DSA-3602-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+deb7u3 | | DLA-499-1 | |
php5 | source | jessie | 5.6.22+dfsg-0+deb8u1 | | DSA-3602-1 | |
php5 | source | (unstable) | 5.6.21+dfsg-1 | | | |
php7.0 | source | (unstable) | 7.0.6-1 | | | |
Notes
https://bugs.php.net/bug.php?id=72061
https://git.php.net/?p=php-src.git;a=commit;h=fd9689745c44341b1bd6af4756f324be8abba2fb
Fixed in 7.0.6, 5.6.21, 5.5.35
https://www.openwall.com/lists/oss-security/2016/05/05/21