php: Out-of-bounds read in phar_parse_pharfile
Published Jul 10, 2017
9.1
CRITICALCVSS 3.1
EPSS 4.71%
Description
In PHP before 5.6.30 and 7.x before 7.0.15, the PHAR archive handler could be used by attackers supplying malicious archive files to crash the PHP interpreter or potentially disclose information due to a buffer over-read in the phar_parse_pharfile function in ext/phar/phar.c.
Affected products
No data.
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php70-php-0:7.0.27-1.el6
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php70-php-0:7.0.27-1.el7
Fixed · RHSA-2018:1296
Red Hat Enterprise Linux 5
php
Will not fix
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
rh-php56-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php70-php-0:7.0.27-1.el6 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php70-php-0:7.0.27-1.el7 | Fixed | RHSA-2018:1296 |
| Red Hat Enterprise Linux 5 | php | Will not fix | 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 | rh-php56-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:N/A:P
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
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.71% (0.04710) | 91.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.71% (0.04710) | 90.63th | v5 (v2026.06.15) |
| Apr 22, 2026 | 3.69% (0.03691) | 87.96th | v4 (v2025.03.14) |
| Sep 8, 2025 | 2.24% (0.02237) | 83.91th | v4 (v2025.03.14) |
| Jul 21, 2025 | 3.33% (0.03334) | 86.75th | v4 (v2025.03.14) |
| Jun 21, 2025 | 2.17% (0.02172) | 83.58th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.21% (0.03214) | 85.89th | v4 (v2025.03.14) |
| Mar 29, 2025 | 10.27% (0.10271) | 88.51th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.21% (0.03214) | 86.19th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.32% (0.00319) | 71.37th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00319) | 69.71th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00315) | 65.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.54% (0.01537) | 51.33th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.07% (0.02069) | 50.36th | v1 |
| Jan 6, 2022 | 2.07% (0.02069) | 49.86th | v1 |
| Sep 1, 2021 | 2.07% (0.02069) | 77.27th | v1 |
| Apr 14, 2021 | 2.07% (0.02069) | 0.00th | v1 |
References (13)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=e5246580a85f031e1a3b8064edbaa55c1643a451 x_refsource_CONFIRM
- http://openwall.com/lists/oss-security/2017/07/10/6 x_refsource_CONFIRMMailing ListPatchThird Party Advisory
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.php x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.securityfocus.com/bid/99607 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-11147 Vendor Advisory
- https://bugs.php.net/bug.php?id=73773 x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1471842 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-11147
- https://security.netapp.com/advisory/ntap-20180112-0001/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-11147
- https://www.tenable.com/security/tns-2017-12 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.