VDB

CVE-2015-4021

CVE-2015-4021 PUBLISHED

Reported by mitre · Published June 9, 2015

The phar_parse_tarfile function in ext/phar/tar.c in PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 does not verify that the first character of a filename is different from the \0 character, which allows remote attackers to cause a denial of service (integer underflow and memory corruption) via a crafted entry in a tar archive.

Fixed versions

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

PackageEcosystemFixed in
php5Ubuntu:14.04:LTS5.5.9+dfsg-1ubuntu4.11
mac_os_xapple10.10.4
phpphp5.4.40

Affected products

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

Timeline

  • Jun 9, 2015 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (8 in total, the first dated here)
  • Oct 14, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2015-4021
vulnetix vdb fixes CVE-2015-4021

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-2015-4021/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 ›