Skip to content
Emerging threatsCritical

CVE-2016-3078PHP Heap Buffer Overflow

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

Published Apr 28, 2016 · Updated Oct 20, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
  • 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.

Scores

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

Exploit maturity

Proof of concept

ATLAS score

54/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

2

Reports of active use

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

    Oct 20, 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 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.