CVE-2020-7061
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php-min | Bitnami | 7.4.3, 7.3.15, 7.2.28 |
| libphp | Bitnami | 7.4.3, 7.3.15, 7.2.28 |
| tenable.sc | tenable | 5.19.0 |
| PHP | PHP Group | 7.4.3, 7.3.15 |
| php | php | 7.4.2, 7.3.14, 7.2.27 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 7.3.x, 7.4.x |
| PHP Group | PHP | 7.3.x, 7.4.x |
| alpine | php7 | 0 |
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