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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-499-1, DSA-3602-1
NVD severityhigh (attack range: remote)
Debian Bugs835032

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hhvm (PTS)buster, sid3.24.7+dfsg-2fixed
php5 (PTS)jessie (security), jessie5.6.33+dfsg-0+deb8u1fixed
php7.0 (PTS)stretch (security), stretch7.0.27-0+deb9u1fixed
sid7.0.29-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hhvmsource(unstable)3.12.11+dfsg-1high835032
php5source(unstable)5.6.21+dfsg-1high
php5sourcejessie5.6.22+dfsg-0+deb8u1highDSA-3602-1
php5sourcewheezy5.4.45-0+deb7u3highDLA-499-1
php7.0source(unstable)7.0.6-1high

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
http://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