VDB

CVE-2016-4072

CVE-2016-4072 PUBLISHED

Reported by mitre · Published May 20, 2016

The Phar extension in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to execute arbitrary code via a crafted filename, as demonstrated by mishandling of \0 characters by the phar_analyze_path function in ext/phar/phar.c.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
php7.0Ubuntu:16.04:LTS7.0.4-7ubuntu2.1
php5Ubuntu:14.04:LTS5.5.9+dfsg-1ubuntu4.16

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Apr 25, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (5 in total, the first dated here)
  • Oct 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2016-4072
vulnetix vdb fixes CVE-2016-4072

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-4072/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›