Description
The unserialize implementation in ext/standard/var.c in PHP 7.x before 7.0.14 allows remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via crafted serialized data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-6834.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | php7.0 | 7.0.15-0ubuntu0.16.04.2 | USN-3211-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-php70-php +29 | 7.0.27-1.el6 | RHSA-2018:1296 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | php7 | 7.0.7-28.2 | SUSE-SU-2017:0017-1 |
| SLES 12 SP1 | php7 | 7.0.7-28.2 | SUSE-SU-2017:0017-1 |
| SLES 12 | php7 | 7.0.7-28.2 | SUSE-SU-2017:0017-1 |
Advisories 3
- RHSA-2018:1296 Red Hat Security Advisory: rh-php70-php security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3211-1 php7.0 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2017:0017-1 Security update for php7 SUSE / openSUSE Security Updates · May 2, 2025
References
- [oss-security] 20161212 CVE assignment for PHP 5.6.28, 5.6.29, 7.0.13, 7.0.14 and 7.1.0 mailing-list
- http://www.php.net/ChangeLog-7.php
- https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17
- RHSA-2018:1296 vendor-advisory
- https://bugs.php.net/bug.php?id=72978
- openSUSE-SU-2017:0061 vendor-advisory
- 94849 vdb-entry