CVE-2020-7063
CVE-2020-7063 — Files added to tar with Phar::buildFromIterator have all-access permissions
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.
Published Updated Sources: cvelistV5, php
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
5.5
MEDIUM
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-281
References
8 on the record
- bugs.php.net/bug.php?id=79082
x_refsource_MISC
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
vendor-advisory, x_refsource_SUSE
- security.gentoo.org/glsa/202003-57
vendor-advisory, x_refsource_GENTOO
- lists.debian.org/debian-lts-announce/2020/03/msg00034.html
mailing-list, x_refsource_MLIST
- usn.ubuntu.com/4330-1/
vendor-advisory, x_refsource_UBUNTU
- www.debian.org/security/2020/dsa-4717
vendor-advisory, x_refsource_DEBIAN
- www.debian.org/security/2020/dsa-4719
vendor-advisory, x_refsource_DEBIAN
- www.tenable.com/security/tns-2021-14
x_refsource_CONFIRM
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-109618 RCE via OOM corruptionCVSS 9.8 · CISA KEV
- CVE-2024-4577 Argument Injection in PHP-CGICVSS 9.8 · CISA KEV
- CVE-2019-11043 Underflow in PHP-FPM can lead to RCECVSS 9.8 · CISA KEV
- CVE-2026-109619 RCE via stale global stateCVSS 8.1 · CISA KEV
- CVE-2012-1823 PHP-CGI Query String Parameter VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-129289 PHP-FPM request smuggling through an unread HTTP request bodyCVSS 9.2
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.