Buffer overflow in PHP
CVE-2016-7414
The ZIP signature-verification feature in PHP before 5.6.26 and 7.x before 7.0.11 does not ensure that the uncompressed_filesize field is large enough, which allows remote attackers to cause a denial of service (out-of-bounds memory access) or possibly have unspecified other impact via a crafted PHAR archive, related to ext/phar/util.c and ext/phar/zip.c.
Vulnerability class: Buffer Overflow
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.068, 94.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
References
- www.php.net/ChangeLog-7.php (Release Notes)
- GLSA-201611-22 (vendor-advisory)
- www.securitytracker.com/id/1036836 (vdb-entry)
- www.securityfocus.com/bid/93004 (vdb-entry)
- github.com/php/php-src/commit/0bfb970f43acd1e81d11be1154805f86655f15d5 (Patch, Issue Tracking)
- bugs.php.net/bug.php (Exploit, Issue Tracking)
- [oss-security] 20160915 Re: CVE assignment for PHP 5.6.26 and 7.0.11 (mailing-list, Mailing List)
- RHSA-2018:1296 (vendor-advisory)
- www.php.net/ChangeLog-5.php (Release Notes)
- www.tenable.com/security/tns-2016-19