CVE-2016-3078

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…

published August 7, 2016

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.0th percentile for exploit probability.

CVSS
—
EPSS
56%
Percentile
99.0
In the wild
Unconfirmed
What it is

⚠️ Watch out for integer overflows sneaking around in PHP! This pesky vulnerability can turn a harmless zip file into a crashing disaster for your application. 💥 Imagine a pizza delivery where the driver miscalculates the number of slices, causing toppings to overflow everywhere — that’s how these integer overflows can lead to a chaotic crash in your PHP application! If an attacker crafts a specific call to the ZipArchive class, it could lead to a denial of service, crashing your application and leaving users frustrated. While the exact impact might be unspecified, the potential for a heap-based buffer overflow means the situation could escalate quickly!

Put simply

Imagine a pizza delivery where the driver miscalculates the number of slices, causing toppings to overflow everywhere — that’s how these integer overflows can lead to a chaotic crash in your PHP application! This vulnerability occurs due to multiple integer overflows in the php_zip.c file of the PHP zip extension, allowing attackers to exploit calls to either getFromIndex or getFromName, leading to application crashes.

What to do

If an attacker crafts a specific call to the ZipArchive class, it could lead to a denial of service, crashing your application and leaving users frustrated. While the exact impact might be unspecified, the potential for a heap-based buffer overflow means the situation could escalate quickly! To mitigate this vulnerability, upgrade your PHP installation to version 7.0.6 or later. Additionally, review your use of the ZipArchive class to ensure it’s not being manipulated inappropriately. Regularly update your dependencies and maintain a secure coding practice! You've got this! With these steps, you’re on your way to securing your PHP applications! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.56132 · 99.0th percentile
Published
2016-08-07T10:00Z
EPSS history
Timeline
  • 07 AUG 10:00Z
    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…
    cvelistv5