Use After Free in PHP
CVE-2016-7479
In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.417 (98.6th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 99th percentile — 98.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.419 · newest: 0.417 · change: -0.003
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
- PHP 7.x — versions PHP 7.x
Weakness classification (CWE)
Public proof-of-concept exploits
References
- blog.checkpoint.com/wp-content/uploads/2016/12/PHP_Technical_Report.pdf (Technical Description, Exploit, Third Party Advisory)
- www.youtube.com/watch (Technical Description)
- bugs.php.net/bug.php (Permissions Required, Issue Tracking)
- access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory)
- security.netapp.com/advisory/ntap-20180112-0001/
- www.securityfocus.com/bid/95151 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securitytracker.com/id/1037659 (vdb-entry)
- blog.checkpoint.com/2016/12/27/check-point-discovers-three-zero-day-vulnerabili… (Third Party Advisory)
Frequently asked questions
- What is CVE-2016-7479?
- CVE-2016-7479 is a critical-severity vulnerability in PHP, classified under Use After Free. CVSS score: 9.8/10. Published 2017-01-12.
- How severe is CVE-2016-7479?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2016-7479 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.