CVE-2016-4343

Source
https://cve.org/CVERecord?id=CVE-2016-4343
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4343.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-4343
Downstream
Published
2016-05-22T01:59:17Z
Modified
2026-08-18T08:25:41Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The phar_make_dirstream function in ext/phar/dirstream.c in PHP before 5.6.18 and 7.x before 7.0.3 mishandles zero-size ././@LongLink files, which allows remote attackers to cause a denial of service (uninitialized pointer dereference) or possibly have unspecified other impact via a crafted TAR archive.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "13.2"
                },
                {
                    "last_affected":  "13.2"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:opensuse"
        }
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "5.5.36"
        },
        {
            "introduced":  "5.6.0"
        },
        {
            "fixed":  "5.6.18"
        },
        {
            "introduced":  "7.0.0"
        },
        {
            "fixed":  "7.0.3"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

Other
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4343.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "295037734266504677848102670698206975725",
            "length":  231
        },
        "id":  "CVE-2016-4343-1be520b7",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/4e1b8701573698f56e12672e4991d7e6239138d2",
        "target":  {
            "file":  "ext/standard/exec.c",
            "function":  "PHP_MINIT_FUNCTION"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "47536493921292488180503894855773419194",
                "114465696917561743629200732476751433886",
                "328867887628948915816274583623244400274",
                "297376920111133995317562874093014086385",
                "168934627128843040351700635521553019231",
                "258560438346906560143303805605521795951",
                "2153196558742618628732246770820228434"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-4343-998c6db5",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/4e1b8701573698f56e12672e4991d7e6239138d2",
        "target":  {
            "file":  "ext/standard/exec.c"
        }
    }
]
vanir_signatures_modified
"2026-08-18T08:25:41Z"