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 in Debian

  • 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

References