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 Red Hat

  • 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 25 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

References