CVE-2016-4539

NameCVE-2016-4539
DescriptionThe xml_parse_into_struct function in ext/xml/xml.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 (buffer under-read and segmentation fault) or possibly have unspecified other impact via crafted XML data in the second argument, leading to a parser level of zero.
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-3602-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.22+dfsg-0+deb8u1DSA-3602-1
php5source(unstable)5.6.21+dfsg-1
php7.0source(unstable)7.0.6-1

Notes

https://bugs.php.net/bug.php?id=72099
https://git.php.net/?p=php-src.git;a=commit;h=dccda88f27a084bcbbb30198ace12b4e7ae961cc
Fixed in 7.0.6, 5.6.21, 5.5.35
https://www.openwall.com/lists/oss-security/2016/05/05/21
HHVM fix: https://github.com/facebook/hhvm/commit/7290b3bbcaa1e10a8d807fab3242204e9ec3a015

Search for package or bug name: Reporting problems