CVE-2020-7061: heap-buffer-overflow in phar_extract_file
Vulnerability summary
CVE-2020-7061 is a critical (CVSS 9.1) Out-of-bounds Read vulnerability in php group php. EPSS estimates a 4.08% chance of exploitation in the next 30 days, higher than 90.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 27-02-2020PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
4.08%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.08% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- php7< 7.3.15-r0
Php1 product
- php≥ 7.2.0, ≤ 7.2.27 | ≥ 7.3.0, ≤ 7.3.14 | ≥ 7.4.0, ≤ 7.4.2
Php group1 product
- php≥ 7.3.x, < 7.3.15 | ≥ 7.4.x, < 7.4.3
Tenable1 product
- tenable.sc< 5.19.0
4 vendors · 4 products