ADVISORIES

Vulnerability

CVE-2020-7063

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.

22 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2020-7063

    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)…

    CVE-2020-7063 Alpine Updated 3 November 2026
  • ALSA-2020:3662

    Moderate: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 AlmaLinux Updated 29 October 2026
  • CNA-CVE-2020-7063

    Files added to tar with Phar::buildFromIterator have all-access permissions

    CVE-2020-7063 PHP Updated 16 September 2024
  • DEBIAN-CVE-2020-7063

    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)…

    CVE-2020-7063 Debian Updated 24 November 2026
  • DLA-2160-1

    php5 - security update

    CVE-2020-7062CVE-2020-7063 Debian Updated 20 November 2026
  • DSA-4717-1

    php7.0 - security update

    CVE-2019-11048CVE-2020-7062CVE-2020-7063CVE-2020-7064 Debian Updated 20 November 2026
  • DSA-4719-1

    php7.3 - security update

    CVE-2019-11048CVE-2020-7062CVE-2020-7063CVE-2020-7064 Debian Updated 20 November 2026
  • ELSA-2020-3662

    ELSA-2020-3662: php:7.3 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Oracle Linux Updated 9 September 2020
  • RHSA-2020:3662

    Red Hat Security Advisory: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Red Hat Updated 24 November 2026
  • RHSA-2020:5275

    Red Hat Security Advisory: rh-php73-php security, bug fix, and enhancement update

    CVE-2019-11045CVE-2019-11047CVE-2019-11048CVE-2019-11050 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2020-7063

    php: Files added to tar with Phar::buildFromIterator have all-access permissions

    Moderate CVE-2020-7063 Red Hat Updated 5 November 2026
  • RLSA-2020:3662

    Moderate: php:7.3 security, bug fix, and enhancement update

    CVE-2019-11039CVE-2019-11040CVE-2019-11041CVE-2019-11042 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2020:0622-1

    Security update for php7

    CVE-2020-7059CVE-2020-7060CVE-2020-7062CVE-2020-7063 SUSE Updated 4 February 2026
  • SUSE-SU-2020:0647-1

    Security update for php72

    CVE-2020-7062CVE-2020-7063 SUSE Updated 4 February 2026
  • SUSE-SU-2020:0658-1

    Security update for php5

    CVE-2020-7062CVE-2020-7063 SUSE Updated 4 February 2026
  • SUSE-SU-2022:4067-1

    Security update for php7

    Known exploited CVE-2015-9253CVE-2017-8923CVE-2017-9120CVE-2018-1000222 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2020-7063

    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)…

    Moderate CVE-2020-7063 SUSE Updated 14 September 2026
  • UBUNTU-CVE-2020-7063

    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)…

    CVE-2020-7063 Ubuntu Updated 22 April 2026
  • USN-4330-1

    php5, php7.0, php7.2, php7.3 vulnerabilities

    CVE-2020-7062CVE-2020-7063CVE-2020-7064CVE-2020-7065 Ubuntu Updated 22 April 2026
  • openSUSE-SU-2020:0341-1

    Security update for php7

    CVE-2020-7059CVE-2020-7060CVE-2020-7062CVE-2020-7063 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11167-1

    php7-7.4.24-1.1 on GA media

    Known exploited CVE-2005-3353CVE-2005-3388CVE-2005-3389CVE-2005-3390 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11169-1

    php8-8.0.11-1.1 on GA media

    Known exploited CVE-2005-3353CVE-2005-3388CVE-2005-3389CVE-2005-3390 openSUSE Updated 4 February 2026

References