VDB

CVE-2020-7061

CVE-2020-7061 PUBLISHED CVSS 6.5 MEDIUM

heap-buffer-overflow in phar_extract_file

Reported by php · Published February 27, 2020

In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.

Fixed versions

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

PackageEcosystemFixed in
php-minBitnami7.4.3, 7.3.15, 7.2.28
libphpBitnami7.4.3, 7.3.15, 7.2.28
tenable.sctenable5.19.0
PHPPHP Group7.4.3, 7.3.15
phpphp7.4.2, 7.3.14, 7.2.27

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected products

VendorProductVersions
PHP GroupPHP7.3.x, 7.4.x
PHP GroupPHP7.3.x, 7.4.x
alpinephp70

Timeline

  • Feb 21, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jun 28, 2021 PoC Published (5 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7061
vulnetix vdb fixes CVE-2020-7061

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-2020-7061/fixes/registry"

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

References

  • x_refsource_MISC
  • GLSA-202003-57 vendor-advisoryx_refsource_GENTOO
  • x_refsource_CONFIRM
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›