CVE-2016-4539
php: xml_parse_into_struct() can crash when XML parser is re-used
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium), Red Hat (low).
Description
The 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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u3 |
| debian 8 | php5 | 5.6.22+dfsg-0+deb8u1 |
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.23 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.17 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.17 |
| ubuntu 15.10 | php5 | 5.6.11+dfsg-1ubuntu3.4 |
| ubuntu 16.04 | php7.0 | 7.0.4-7ubuntu2.1 |
| ubuntu 16.04-ESM | php7.0 | 7.0.4-7ubuntu2.1 |
Show all 36 entries from 9 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u3 |
| debian 8 | php5 | 5.6.22+dfsg-0+deb8u1 |
| Red Hat | php | no fix listed |
| Red Hat | php-bcmath | no fix listed |
| Red Hat | php-cli | no fix listed |
| Red Hat | php-common | no fix listed |
| Red Hat | php-dba | no fix listed |
| Red Hat | php-devel | no fix listed |
| Red Hat | php-embedded | no fix listed |
| Red Hat | php-enchant | no fix listed |
| Red Hat | php-fpm | no fix listed |
| Red Hat | php-gd | no fix listed |
| Red Hat | php-imap | no fix listed |
| Red Hat | php-intl | no fix listed |
| Red Hat | php-ldap | no fix listed |
| Red Hat | php-mbstring | no fix listed |
| Red Hat | php-mysql | no fix listed |
| Red Hat | php-mysqlnd | no fix listed |
| Red Hat | php-odbc | no fix listed |
| Red Hat | php-pdo | no fix listed |
| Red Hat | php-pgsql | no fix listed |
| Red Hat | php-process | no fix listed |
| Red Hat | php-pspell | no fix listed |
| Red Hat | php-recode | no fix listed |
| Red Hat | php-snmp | no fix listed |
| Red Hat | php-soap | no fix listed |
| Red Hat | php-tidy | no fix listed |
| Red Hat | php-xml | no fix listed |
| Red Hat | php-xmlrpc | no fix listed |
| Red Hat | php-zts | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.23 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.17 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.17 |
| ubuntu 15.10 | php5 | 5.6.11+dfsg-1ubuntu3.4 |
| ubuntu 16.04 | php7.0 | 7.0.4-7ubuntu2.1 |
| ubuntu 16.04-ESM | php7.0 | 7.0.4-7ubuntu2.1 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html
- http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3602
- http://www.openwall.com/lists/oss-security/2016/05/05/21
All 19 references
- http://www.securityfocus.com/bid/90174
- https://access.redhat.com/security/cve/CVE-2016-4539
- https://bugs.php.net/bug.php?id=72099
- https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=dccda88f27a084bcbbb30198ace12b4e7ae961cc
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- https://nvd.nist.gov/vuln/detail/CVE-2016-4539
- https://security.gentoo.org/glsa/201611-22
- https://ubuntu.com/security/notices/USN-2984-1
- https://www.cve.org/CVERecord?id=CVE-2016-4539