CVE-2020-7061 Details
Description
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.
A heap buffer overflow vulnerability has been identified in PHP versions 7.3.0 prior to 7.3.15 and 7.4.0 prior to 7.4.3. The issue arises when extracting PHAR files on Windows using the phar extension. Certain content within the PHAR file can cause a one-byte read past the allocated buffer, potentially leading to information disclosure or a crash. This vulnerability is associated with the phar_extract_file function, where an incorrect loop termination allows the buffer overflow to occur.
Users are advised to upgrade to PHP 7.3.15 or 7.4.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.php.net/bug.php?id=79171 | CVE | ExploitVendor Advisory |
| https://security.gentoo.org/glsa/202003-57 | CVE | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | CVE | PatchThird Party Advisory |
| https://bugs.php.net/bug.php?id=79171 | [email protected] | ExploitVendor Advisory |
| https://security.gentoo.org/glsa/202003-57 | [email protected] | Third Party Advisory |
| https://www.tenable.com/security/tns-2021-14 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.2.0, <= 7.2.27 >= 7.3.0, <= 7.3.14 >= 7.4.0, <= 7.4.2 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
| tenable tenable.sc | < 5.19.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 16, 2022 | Modified Analysis | [email protected] |
| Jul 22, 2021 | CVE Modified | [email protected] |
| Mar 26, 2020 | CVE Modified | [email protected] |
| Feb 28, 2020 | Initial Analysis | [email protected] |