CVE-2016-4070

NameCVE-2016-4070
DescriptionInteger overflow in the php_raw_url_encode function in ext/standard/url.c in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to cause a denial of service (application crash) via a long string to the rawurlencode function. NOTE: the vendor says "Not sure if this qualifies as security issue (probably not).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-499-1, DSA-3560-1
Debian Bugs835032

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed
php7.0 (PTS)stretch (security)7.0.33-0+deb9u12fixed
stretch (lts), stretch7.0.33-0+deb9u19fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hhvmsource(unstable)3.12.11+dfsg-1835032
php5sourcewheezy5.4.45-0+deb7u3DLA-499-1
php5sourcejessie5.6.20+dfsg-0+deb8u1DSA-3560-1
php5source(unstable)5.6.20+dfsg-1
php7.0source(unstable)7.0.5-1

Notes

Fixed in 7.0.5, 5.6.20, 5.5.34
https://bugs.php.net/bug.php?id=71798
https://git.php.net/?p=php-src.git;a=commit;h=95433e8e339dbb6b5d5541473c1661db6ba2c451
https://www.openwall.com/lists/oss-security/2016/04/11/7
Fix in HHVM: https://github.com/facebook/hhvm/commit/ea6ff01f6c31f1615a935ef96622d623a6277d37

Search for package or bug name: Reporting problems