php: Files from archive can be extracted outside of destination directory using phar
Published Jan 19, 2016
7.5
HIGHCVSS 3.0
EPSS 4.84%
Description
Directory traversal vulnerability in the PharData class in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to write to arbitrary files via a .. (dot dot) in a ZIP archive entry that is mishandled during an extractTo call.
Affected products
No data.
- ≤ 5.4.43
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.5.26
- 5.5.27
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
- 5.6.10
- 5.6.11
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.5-8.el6
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.5-8.el7
Fixed · RHSA-2016:0457
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat OpenShift Enterprise 2
php
Will not fix
Red Hat Software Collections
php54-php
Will not fix
Red Hat Software Collections
php55-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.5-8.el6 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.5-8.el7 | Fixed | RHSA-2016:0457 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | php | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Will not fix | n/a |
| Red Hat Software Collections | php55-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.84% (0.04837) | 91.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.84% (0.04837) | 90.83th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.36% (0.00363) | 56.20th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.60% (0.00596) | 79.10th | v3 (v2023.03.01) |
| Mar 22, 2024 | 0.60% (0.00596) | 77.92th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.60% (0.00596) | 75.92th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.89% (0.00893) | 80.15th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
References (9)
- http://www.debian.org/security/2015/dsa-3344 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2015/08/19/3 mailing-listx_refsource_MLIST
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2015-6833 Vendor Advisory
- https://bugs.php.net/bug.php?id=70019 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1283702 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2015-6833
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2015-6833
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2015/dsa-3344 | vendor-advisoryx_refsource_DEBIAN | |
| http://www.openwall.com/lists/oss-security/2015/08/19/3 | mailing-listx_refsource_MLIST | |
| http://www.php.net/ChangeLog-5.php | x_refsource_CONFIRM | |
| https://access.redhat.com/security/cve/CVE-2015-6833 | Vendor Advisory | |
| https://bugs.php.net/bug.php?id=70019 | x_refsource_CONFIRM | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1283702 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-6833 | ||
| https://security.gentoo.org/glsa/201606-10 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2015-6833 |
Change history (0)
No recorded changes yet.