Vulnerabilities / CVE-2016-7124

critical

CVE-2016-7124

php: bypass __wakeup() in deserialization of an unexpected object

Published Modified CWE 502
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 Hat4.8CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

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

Description

ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) __destruct call or (2) magic method call.

Affected packages and fixed versions

SourcePackageFixed in
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 35 entries from 8 sources
SourcePackageFixed in
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.