php: Buffer over-read in PHAR reading functions
Published Feb 21, 2019
7.5
HIGHCVSS 3.0
EPSS 5.66%
Description
In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c.
Affected products
No data.
No data.
Red Hat Enterprise Linux 8
php:7.2-8020020191108065827.2c7ca891
Fixed · RHSA-2020:1624
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php72-php-0:7.2.24-1.el7
Fixed · RHSA-2019:3299
Red Hat Enterprise Linux 5
php
Out of support scope
Red Hat Enterprise Linux 6
php
Out of support scope
Red Hat Enterprise Linux 7
php
Fix deferred
Red Hat Software Collections
rh-php70-php
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.2-8020020191108065827.2c7ca891 | Fixed | RHSA-2020:1624 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php72-php-0:7.2.24-1.el7 | Fixed | RHSA-2019:3299 |
| Red Hat Enterprise Linux 5 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | php | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | php | Fix deferred | n/a |
| Red Hat Software Collections | rh-php70-php | Fix deferred | 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:H/I:N/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/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 3, 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 (47 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 5.66% (0.05660) | 92.75th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.66% (0.05660) | 91.95th | v5 (v2026.06.15) |
| Apr 13, 2026 | 5.10% (0.05101) | 89.83th | v4 (v2025.03.14) |
| Mar 4, 2026 | 6.54% (0.06535) | 90.94th | v4 (v2025.03.14) |
| Mar 1, 2026 | 5.46% (0.05463) | 90.07th | v4 (v2025.03.14) |
| Feb 4, 2026 | 6.54% (0.06535) | 90.89th | v4 (v2025.03.14) |
| Feb 1, 2026 | 5.46% (0.05463) | 90.00th | v4 (v2025.03.14) |
| Jan 4, 2026 | 6.54% (0.06535) | 90.82th | v4 (v2025.03.14) |
| Jan 1, 2026 | 5.46% (0.05463) | 89.96th | v4 (v2025.03.14) |
| Dec 28, 2025 | 6.54% (0.06535) | 90.80th | v4 (v2025.03.14) |
| Dec 27, 2025 | 4.96% (0.04964) | 89.37th | v4 (v2025.03.14) |
| Dec 4, 2025 | 6.65% (0.06652) | 90.84th | v4 (v2025.03.14) |
| Dec 1, 2025 | 5.56% (0.05562) | 89.98th | v4 (v2025.03.14) |
| Nov 21, 2025 | 6.65% (0.06652) | 90.81th | v4 (v2025.03.14) |
| Nov 18, 2025 | 4.65% (0.04653) | 88.22th | v4 (v2025.03.14) |
| Nov 4, 2025 | 6.65% (0.06652) | 90.79th | v4 (v2025.03.14) |
| Nov 1, 2025 | 5.56% (0.05562) | 89.89th | v4 (v2025.03.14) |
| Oct 28, 2025 | 6.65% (0.06652) | 90.79th | v4 (v2025.03.14) |
| Oct 27, 2025 | 5.06% (0.05056) | 89.31th | v4 (v2025.03.14) |
| Oct 4, 2025 | 6.65% (0.06652) | 90.84th | v4 (v2025.03.14) |
| Sep 4, 2025 | 5.06% (0.05056) | 89.38th | v4 (v2025.03.14) |
| Sep 1, 2025 | 2.13% (0.02127) | 83.57th | v4 (v2025.03.14) |
| Aug 4, 2025 | 5.36% (0.05360) | 89.71th | v4 (v2025.03.14) |
| Aug 1, 2025 | 2.05% (0.02055) | 83.23th | v4 (v2025.03.14) |
| Jul 30, 2025 | 5.06% (0.05056) | 89.36th | v4 (v2025.03.14) |
| Jun 10, 2025 | 6.14% (0.06139) | 90.31th | v4 (v2025.03.14) |
| Jun 4, 2025 | 7.46% (0.07459) | 91.27th | v4 (v2025.03.14) |
| Jun 1, 2025 | 6.05% (0.06054) | 90.29th | v4 (v2025.03.14) |
| May 30, 2025 | 7.46% (0.07459) | 91.27th | v4 (v2025.03.14) |
| May 28, 2025 | 11.58% (0.11575) | 93.25th | v4 (v2025.03.14) |
| May 4, 2025 | 7.46% (0.07459) | 91.25th | v4 (v2025.03.14) |
| May 1, 2025 | 6.05% (0.06054) | 90.25th | v4 (v2025.03.14) |
| Mar 30, 2025 | 7.46% (0.07459) | 90.92th | v4 (v2025.03.14) |
| Mar 29, 2025 | 16.69% (0.16686) | 91.58th | v4 (v2025.03.14) |
| Mar 17, 2025 | 7.65% (0.07647) | 91.26th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.58% (0.00580) | 78.81th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.58% (0.00576) | 77.35th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.54% (0.00542) | 76.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.54% (0.00542) | 73.81th | 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.27% (0.02273) | 50.89th | v1 |
| Jan 6, 2022 | 2.27% (0.02273) | 50.38th | v1 |
| Sep 1, 2021 | 2.27% (0.02273) | 77.89th | v1 |
| Apr 14, 2021 | 2.27% (0.02273) | 0.00th | v1 |
References (14)
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html vendor-advisoryx_refsource_SUSE
- http://php.net/ChangeLog-5.php x_refsource_MISCVendor Advisory
- http://php.net/ChangeLog-7.php x_refsource_MISCVendor Advisory
- https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:3299 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-20783 Vendor Advisory
- https://bugs.php.net/bug.php?id=77143 x_refsource_MISCExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1680545 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-20783
- https://usn.ubuntu.com/3566-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-20783
Change history (0)
No recorded changes yet.