The pharmakedirstream 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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4343.json"
[
{
"digest": {
"line_hashes": [
"47536493921292488180503894855773419194",
"114465696917561743629200732476751433886",
"328867887628948915816274583623244400274",
"297376920111133995317562874093014086385",
"168934627128843040351700635521553019231",
"258560438346906560143303805605521795951",
"2153196558742618628732246770820228434"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "ext/standard/exec.c"
},
"signature_type": "Line",
"id": "CVE-2016-4343-545bc88e",
"source": "https://github.com/php/php-src/commit/62b8c4246a1004a17a36493920c21780e6a280f2",
"deprecated": false
},
{
"digest": {
"function_hash": "295037734266504677848102670698206975725",
"length": 231.0
},
"signature_version": "v1",
"target": {
"file": "ext/standard/exec.c",
"function": "PHP_MINIT_FUNCTION"
},
"signature_type": "Function",
"id": "CVE-2016-4343-d888e08e",
"source": "https://github.com/php/php-src/commit/62b8c4246a1004a17a36493920c21780e6a280f2",
"deprecated": false
}
]