Integer overflow in PHP - CVE-2016-3078

 

Integer overflow in PHP - CVE-2016-3078

Published: July 20, 2022 / Updated: June 8, 2025


Vulnerability identifier: #VU110257
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-3078
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted call to (1) getFromIndex or (2) getFromName in the ZipArchive class.


Affected software

PHP
Fedora
php-pecl-zip

How to mitigate CVE-2016-3078

Install update from vendor's website.

PHP - update to 7.0.6
php-pecl-zip - addressed in versions 1.13.3-1.fc23, 1.13.3-1.fc24

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins