Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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 overflow and application crash) or possibly have unspecified other impact via a crafted call to (1) getFromIndex or (2) getFromName in the ZipArchive class.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-3078
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:13 UTC · Revision 1

Source evidence

CVE-2016-3078

core-osv · Original source

Published 7 Aug 2016, 10:59 UTC

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.

osv:CVE-2016-3078
Complete source record
{
  "id": "b668103efe1719e07d48773a827db7241de44e430651b8a3105a59ec4786c977",
  "url": "https://osv.dev/vulnerability/CVE-2016-3078",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-3078",
    "summary": "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.",
    "evidence": "osv:CVE-2016-3078",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-3078",
      "aliases": [
        "CVE-2016-3078"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "fixed": "734a5fca2c4731e34eca551f28be9a10ffc3f3c9"
                },
                {
                  "fixed": "3b8d4de300854b3517c7acb239b84f7726c1353c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3b8d4de300854b3517c7acb239b84f7726c1353c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3078.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-3078-4b3a61bd",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "193834782511832635126460315008502649908",
                    "122701032404794599140100292209662573895",
                    "305997671698898631509667006704042414636",
                    "199880202858721550022649770427341030569",
                    "138951393611278878555268921097277489425",
                    "136890833185091162244737598814651851569",
                    "30058069426566830036519766740381670483",
                    "240539720814655648509524591137719963333"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c",
                "target": {
                  "file": "ext/zip/php_zip.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-3078-d5cc51d3",
                "digest": {
                  "length": 623,
                  "function_hash": "236365680313424228371521953091843272237"
                },
                "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c",
                "target": {
                  "file": "ext/zip/php_zip.c",
                  "function": "PHP_NAMED_FUNCTION"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2016-3078-e389ffa9",
                "digest": {
                  "length": 1059,
                  "function_hash": "62722076856804002345561822430900202743"
                },
                "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c",
                "target": {
                  "file": "ext/zip/php_zip.c",
                  "function": "php_zip_get_from"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:22:24Z"
          }
        }
      ],
      "modified": "2026-10-20T13:22:24.238777483Z",
      "provider": "osv",
      "references": [
        "https://php.net/ChangeLog-7.php",
        "https://security-tracker.debian.org/tracker/CVE-2016-3078",
        "https://bugs.php.net/bug.php?id=71923",
        "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c?w=1",
        "https://www.exploit-db.com/exploits/39742/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-3078",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387584,
  "published_at": "2016-08-07T10:59:02.757+00:00"
}