CVE-2016-3078

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-3078
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-3078.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-3078
Downstream
Published
2016-08-07T10:59:02Z
Modified
2025-10-15T08:06:33.725447Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

NEWS
NEWS-cvs2svn
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_NATIVE_TLS_MERGE
POST_PHP7_EREG_MYSQL_REMOVALS
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_NATIVE_TLS_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
PRE_PHPNG_MERGE

php-5.*

php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.6.18RC1
php-5.6.19RC1

php-7.*

php-7.0.3RC1
php-7.0.4RC1
php-7.0.5RC1
php-7.0.6RC1

Database specific

vanir_signatures

[
    {
        "id": "CVE-2016-3078-4b3a61bd",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "ext/zip/php_zip.c"
        },
        "digest": {
            "line_hashes": [
                "193834782511832635126460315008502649908",
                "122701032404794599140100292209662573895",
                "305997671698898631509667006704042414636",
                "199880202858721550022649770427341030569",
                "138951393611278878555268921097277489425",
                "136890833185091162244737598814651851569",
                "30058069426566830036519766740381670483",
                "240539720814655648509524591137719963333"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c"
    },
    {
        "id": "CVE-2016-3078-d5cc51d3",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "ext/zip/php_zip.c",
            "function": "PHP_NAMED_FUNCTION"
        },
        "digest": {
            "function_hash": "236365680313424228371521953091843272237",
            "length": 623.0
        },
        "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c"
    },
    {
        "id": "CVE-2016-3078-e389ffa9",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "ext/zip/php_zip.c",
            "function": "php_zip_get_from"
        },
        "digest": {
            "function_hash": "62722076856804002345561822430900202743",
            "length": 1059.0
        },
        "source": "https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c"
    }
]