cve.bz

CVE-2016-7124 php php: Deserialization of Untrusted Data

9.8 criticalExploit referenceEPSS 16%Fix available

Critical (9.8) in php php. EPSS 16% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
16% (unchanged from 16% a week ago; 17% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-7124 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-7124?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-7124?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-7124 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:php7.0.0
php:php7.0.1
php:php7.0.2
php:php7.0.3
php:php7.0.4
php:php7.0.5
php:php7.0.6
php:php7.0.7
php:php7.0.8
php:php7.0.9
php:phpthrough 5.6.24

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7php55.4.45-0+deb7u6DLA-749-1
Debian8php55.6.26+dfsg-0+deb8u1DSA-3689-1
Ubuntu14.04:LTSphp55.5.9+dfsg-1ubuntu4.20UBUNTU-CVE-2016-7124 USN-3095-1
Ubuntu16.04:LTSphp7.07.0.8-0ubuntu0.16.04.3UBUNTU-CVE-2016-7124 USN-3095-1
Red Hatrhel_software_collections:2::el6rh-php56, rh-php56-runtime, rh-php56-scldevel0:2.3-1.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el6rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 27 more0:5.6.25-1.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el6rh-php56-php-pear1:1.9.5-4.el6RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56, rh-php56-runtime, rh-php56-scldevel0:2.3-1.el7RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56-php, rh-php56-php-gd, rh-php56-php-cli and 25 more0:5.6.25-1.el7RHSA-2016:2750
Red Hatrhel_software_collections:2::el7rh-php56-php-pear1:1.9.5-4.el7RHSA-2016:2750
SUSELinux Enterprise Module for Web and Scripting 12php77.0.7-15.1SUSE-SU-2016:2460-2
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1php55.5.14-73.1SUSE-SU-2016:2408-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP1php77.0.7-15.1SUSE-SU-2016:2460-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 6 morephp535.3.17-84.1SUSE-SU-2016:2459-1
SUSELinux Enterprise Server 11 SP2-LTSSphp535.3.17-55.1SUSE-SU-2016:2328-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-0:2.3-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-0:5.6.25-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-php56-php-pear-1:1.9.5-4.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-0:2.3-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-php-0:5.6.25-1.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-php56-php-pear-1:1.9.5-4.el6Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-0:2.3-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-0:5.6.25-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-php56-php-pear-1:1.9.5-4.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-php56-0:2.3-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-php56-php-0:5.6.25-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUSrh-php56-php-pear-1:1.9.5-4.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-php56-0:2.3-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-php56-php-0:5.6.25-1.el7Fixed 2016-11-15RHSA-2016:2750
Red Hat Enterprise Linux 5phpWill not fix
Red Hat Enterprise Linux 5php53Will not fix
Red Hat Enterprise Linux 6phpWill not fix
Red Hat Enterprise Linux 7phpWill not fix
Red Hat Software Collectionsphp54-phpWill not fix
Red Hat Software Collectionsphp55-phpWill not fix
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-7124.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON