Skip to content
Vulnerability Intelligence

CVE-2016-3078

CriticalPublic exploit

php: Heap overflow caused by integer overflow when reading zip files in ZipArchive

Published Apr 28, 2016 · Updated Aug 7, 2026 · Also known as UBUNTU-CVE-2016-3078

Key Facts

Patch immediately
  • CVE-2016-3078 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting PHP, php5 (ubuntu), php7.0 (ubuntu).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 56% probability of exploitation in the next 30 days.
  • Fixed versions are available, including PHP 7.0.6, php5 5.5.9+dfsg-1ubuntu4.17, php7.0 7.0.4-7ubuntu2.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

56%

Higher than 99.0% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2016-3078 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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 Products

3 affected entries in total
ProductAffected versionsFixed in
PHPPHPSee advisory7.0.6
php5ubuntuSee advisory5.5.9+dfsg-1ubuntu4.17
php7.0ubuntuSee advisory7.0.4-7ubuntu2.1

Patched Releases

PHP

7.0.6

php5

5.5.9+dfsg-1ubuntu4.17

php7.0

7.0.4-7ubuntu2.1

Timeline

  1. Publicly disclosed

    Apr 28, 2016

  2. Last updated

    Aug 7, 2026

Weakness Type

  • CWE-122 Heap-based Buffer Overflow
  • CWE-190 Integer Overflow or Wraparound

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2016-3078 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo