Vulnerabilities / CVE-2016-7413

critical

CVE-2016-7413

php: Use after free in wddx_deserialize

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Amazon (medium), Ubuntu (medium).

Description

Use-after-free vulnerability in the wddx_stack_destroy function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a wddxPacket XML document that lacks an end-tag for a recordset field element, leading to mishandling in a wddx_deserialize call.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.2php5.6.27-r0
alpine 3.3php5.6.27-r0
amazon linux 1php56, php56-bcmath, php56-cli and 63 more5.6.26-1.128.amzn1 and 1 more
debian 7php55.4.45-0+deb7u6
debian 8php55.6.26+dfsg-0+deb8u1
Red Hatphp, php-bcmath, php-cli and 25 moreno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.25
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.20
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.20
ubuntu 16.04php7.07.0.8-0ubuntu0.16.04.3
ubuntu 16.04-ESMphp7.07.0.8-0ubuntu0.16.04.3
Show all 103 entries from 11 sources
SourcePackageFixed in
alpine 3.2php5.6.27-r0
alpine 3.3php5.6.27-r0
amazon linux 1php565.6.26-1.128.amzn1
amazon linux 1php56-bcmath5.6.26-1.128.amzn1
amazon linux 1php56-cli5.6.26-1.128.amzn1
amazon linux 1php56-common5.6.26-1.128.amzn1
amazon linux 1php56-dba5.6.26-1.128.amzn1
amazon linux 1php56-dbg5.6.26-1.128.amzn1
amazon linux 1php56-debuginfo5.6.26-1.128.amzn1
amazon linux 1php56-devel5.6.26-1.128.amzn1
amazon linux 1php56-embedded5.6.26-1.128.amzn1
amazon linux 1php56-enchant5.6.26-1.128.amzn1
amazon linux 1php56-fpm5.6.26-1.128.amzn1
amazon linux 1php56-gd5.6.26-1.128.amzn1
amazon linux 1php56-gmp5.6.26-1.128.amzn1
amazon linux 1php56-imap5.6.26-1.128.amzn1
amazon linux 1php56-intl5.6.26-1.128.amzn1
amazon linux 1php56-ldap5.6.26-1.128.amzn1
amazon linux 1php56-mbstring5.6.26-1.128.amzn1
amazon linux 1php56-mcrypt5.6.26-1.128.amzn1
amazon linux 1php56-mssql5.6.26-1.128.amzn1
amazon linux 1php56-mysqlnd5.6.26-1.128.amzn1
amazon linux 1php56-odbc5.6.26-1.128.amzn1
amazon linux 1php56-opcache5.6.26-1.128.amzn1
amazon linux 1php56-pdo5.6.26-1.128.amzn1
amazon linux 1php56-pgsql5.6.26-1.128.amzn1
amazon linux 1php56-process5.6.26-1.128.amzn1
amazon linux 1php56-pspell5.6.26-1.128.amzn1
amazon linux 1php56-recode5.6.26-1.128.amzn1
amazon linux 1php56-snmp5.6.26-1.128.amzn1
amazon linux 1php56-soap5.6.26-1.128.amzn1
amazon linux 1php56-tidy5.6.26-1.128.amzn1
amazon linux 1php56-xml5.6.26-1.128.amzn1
amazon linux 1php56-xmlrpc5.6.26-1.128.amzn1
amazon linux 1php707.0.11-1.16.amzn1
amazon linux 1php70-bcmath7.0.11-1.16.amzn1
amazon linux 1php70-cli7.0.11-1.16.amzn1
amazon linux 1php70-common7.0.11-1.16.amzn1
amazon linux 1php70-dba7.0.11-1.16.amzn1
amazon linux 1php70-dbg7.0.11-1.16.amzn1
amazon linux 1php70-debuginfo7.0.11-1.16.amzn1
amazon linux 1php70-devel7.0.11-1.16.amzn1
amazon linux 1php70-embedded7.0.11-1.16.amzn1
amazon linux 1php70-enchant7.0.11-1.16.amzn1
amazon linux 1php70-fpm7.0.11-1.16.amzn1
amazon linux 1php70-gd7.0.11-1.16.amzn1
amazon linux 1php70-gmp7.0.11-1.16.amzn1
amazon linux 1php70-imap7.0.11-1.16.amzn1
amazon linux 1php70-intl7.0.11-1.16.amzn1
amazon linux 1php70-json7.0.11-1.16.amzn1
amazon linux 1php70-ldap7.0.11-1.16.amzn1
amazon linux 1php70-mbstring7.0.11-1.16.amzn1
amazon linux 1php70-mcrypt7.0.11-1.16.amzn1
amazon linux 1php70-mysqlnd7.0.11-1.16.amzn1
amazon linux 1php70-odbc7.0.11-1.16.amzn1
amazon linux 1php70-opcache7.0.11-1.16.amzn1
amazon linux 1php70-pdo7.0.11-1.16.amzn1
amazon linux 1php70-pdo-dblib7.0.11-1.16.amzn1
amazon linux 1php70-pgsql7.0.11-1.16.amzn1
amazon linux 1php70-process7.0.11-1.16.amzn1
amazon linux 1php70-pspell7.0.11-1.16.amzn1
amazon linux 1php70-recode7.0.11-1.16.amzn1
amazon linux 1php70-snmp7.0.11-1.16.amzn1
amazon linux 1php70-soap7.0.11-1.16.amzn1
amazon linux 1php70-tidy7.0.11-1.16.amzn1
amazon linux 1php70-xml7.0.11-1.16.amzn1
amazon linux 1php70-xmlrpc7.0.11-1.16.amzn1
amazon linux 1php70-zip7.0.11-1.16.amzn1
debian 7php55.4.45-0+deb7u6
debian 8php55.6.26+dfsg-0+deb8u1
Red Hatphpno fix listed
Red Hatphp-bcmathno fix listed
Red Hatphp-clino fix listed
Red Hatphp-commonno fix listed
Red Hatphp-dbano fix listed
Red Hatphp-develno fix listed
Red Hatphp-embeddedno fix listed
Red Hatphp-enchantno fix listed
Red Hatphp-fpmno fix listed
Red Hatphp-gdno fix listed
Red Hatphp-imapno fix listed
Red Hatphp-intlno fix listed
Red Hatphp-ldapno fix listed
Red Hatphp-mbstringno fix listed
Red Hatphp-mysqlno fix listed
Red Hatphp-mysqlndno fix listed
Red Hatphp-odbcno fix listed
Red Hatphp-pdono fix listed
Red Hatphp-pgsqlno fix listed
Red Hatphp-processno fix listed
Red Hatphp-pspellno fix listed
Red Hatphp-recodeno fix listed
Red Hatphp-snmpno fix listed
Red Hatphp-soapno fix listed
Red Hatphp-tidyno fix listed
Red Hatphp-xmlno fix listed
Red Hatphp-xmlrpcno fix listed
Red Hatphp-ztsno fix listed
ubuntu 12.04php55.3.10-1ubuntu3.25
ubuntu 14.04php55.5.9+dfsg-1ubuntu4.20
ubuntu 14.04-ESMphp55.5.9+dfsg-1ubuntu4.20
ubuntu 16.04php7.07.0.8-0ubuntu0.16.04.3
ubuntu 16.04-ESMphp7.07.0.8-0ubuntu0.16.04.3

References

All 17 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.