php: Stack-based buffer under-read in php_stream_url_wrap_http_ex() in http_fopen_wrapper.c when parsing HTTP response
Published Mar 1, 2018
9.8
CRITICALCVSS 3.0
EPSS 87.35%
Description
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string.
Affected products
No data.
Configuration 1
Configuration 2
- 12.04
- 14.04
- 16.04
- 17.10
Configuration 3
- 7.0
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 7
php-0:5.4.16-48.el7
Fixed · RHSA-2020:1112
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.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.6 EUS
rh-php71-php-0:7.1.30-1.el7
Fixed · RHSA-2019:2519
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 8
php
Not affected
Red Hat Software Collections
rh-php56-php
Will not fix
Red Hat Software Collections
rh-php70-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | php-0:5.4.16-48.el7 | Fixed | RHSA-2020:1112 |
| 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.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.6 EUS | rh-php71-php-0:7.1.30-1.el7 | Fixed | RHSA-2019:2519 |
| 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 8 | php | Not affected | n/a |
| Red Hat Software Collections | rh-php56-php | Will not fix | n/a |
| Red Hat Software Collections | rh-php70-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:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:P/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 (62 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 87.35% (0.87348) | 99.75th | v5 (v2026.06.15) |
| Sep 22, 2026 | 87.35% (0.87348) | 99.75th | v5 (v2026.06.15) |
| Sep 21, 2026 | 83.59% (0.83594) | 99.68th | v5 (v2026.06.15) |
| Sep 6, 2026 | 87.35% (0.87348) | 99.74th | v5 (v2026.06.15) |
| Sep 5, 2026 | 83.59% (0.83594) | 99.67th | v5 (v2026.06.15) |
| Aug 30, 2026 | 87.35% (0.87348) | 99.74th | v5 (v2026.06.15) |
| Aug 28, 2026 | 83.59% (0.83594) | 99.67th | v5 (v2026.06.15) |
| Aug 24, 2026 | 87.35% (0.87348) | 99.74th | v5 (v2026.06.15) |
| Aug 23, 2026 | 83.59% (0.83594) | 99.67th | v5 (v2026.06.15) |
| Jun 15, 2026 | 87.88% (0.87883) | 99.74th | v5 (v2026.06.15) |
| Mar 4, 2026 | 83.07% (0.83066) | 99.24th | v4 (v2025.03.14) |
| Mar 1, 2026 | 76.52% (0.76519) | 98.92th | v4 (v2025.03.14) |
| Feb 4, 2026 | 83.07% (0.83066) | 99.23th | v4 (v2025.03.14) |
| Feb 1, 2026 | 76.52% (0.76519) | 98.91th | v4 (v2025.03.14) |
| Jan 11, 2026 | 83.07% (0.83066) | 99.23th | v4 (v2025.03.14) |
| Jan 4, 2026 | 80.64% (0.80641) | 99.10th | v4 (v2025.03.14) |
| Jan 1, 2026 | 75.08% (0.75076) | 98.84th | v4 (v2025.03.14) |
| Dec 28, 2025 | 79.78% (0.79778) | 99.05th | v4 (v2025.03.14) |
| Dec 27, 2025 | 75.77% (0.75773) | 98.87th | v4 (v2025.03.14) |
| Dec 4, 2025 | 79.78% (0.79778) | 99.04th | v4 (v2025.03.14) |
| Dec 1, 2025 | 75.08% (0.75076) | 98.83th | v4 (v2025.03.14) |
| Nov 21, 2025 | 79.78% (0.79778) | 99.04th | v4 (v2025.03.14) |
| Nov 18, 2025 | 75.37% (0.75373) | 98.96th | v4 (v2025.03.14) |
| Nov 4, 2025 | 78.07% (0.78068) | 98.96th | v4 (v2025.03.14) |
| Nov 1, 2025 | 72.91% (0.72909) | 98.72th | v4 (v2025.03.14) |
| Oct 28, 2025 | 78.07% (0.78068) | 98.96th | v4 (v2025.03.14) |
| Oct 27, 2025 | 75.77% (0.75773) | 98.85th | v4 (v2025.03.14) |
| Oct 4, 2025 | 78.07% (0.78068) | 98.97th | v4 (v2025.03.14) |
| Oct 1, 2025 | 72.91% (0.72909) | 98.74th | v4 (v2025.03.14) |
| Sep 4, 2025 | 76.42% (0.76415) | 98.90th | v4 (v2025.03.14) |
| Sep 1, 2025 | 70.84% (0.70838) | 98.65th | v4 (v2025.03.14) |
| Aug 17, 2025 | 76.42% (0.76415) | 98.89th | v4 (v2025.03.14) |
| Aug 4, 2025 | 79.78% (0.79783) | 99.05th | v4 (v2025.03.14) |
| Aug 1, 2025 | 75.08% (0.75083) | 98.83th | v4 (v2025.03.14) |
| Jul 30, 2025 | 79.78% (0.79783) | 99.04th | v4 (v2025.03.14) |
| Jul 4, 2025 | 81.51% (0.81512) | 99.12th | v4 (v2025.03.14) |
| Jul 1, 2025 | 77.30% (0.77300) | 98.92th | v4 (v2025.03.14) |
| Jun 6, 2025 | 81.51% (0.81512) | 99.12th | v4 (v2025.03.14) |
| Jun 4, 2025 | 80.02% (0.80024) | 99.05th | v4 (v2025.03.14) |
| Jun 1, 2025 | 76.19% (0.76185) | 98.86th | v4 (v2025.03.14) |
| May 4, 2025 | 80.14% (0.80145) | 99.04th | v4 (v2025.03.14) |
| May 1, 2025 | 75.72% (0.75725) | 98.83th | v4 (v2025.03.14) |
| Mar 30, 2025 | 80.14% (0.80145) | 99.06th | v4 (v2025.03.14) |
| Mar 29, 2025 | 82.21% (0.82214) | 99.01th | v4 (v2025.03.14) |
| Mar 17, 2025 | 80.14% (0.80145) | 99.06th | v4 (v2025.03.14) |
| Dec 17, 2024 | 17.79% (0.17789) | 96.13th | v3 (v2023.03.01) |
| Jun 4, 2024 | 75.30% (0.75304) | 98.16th | v3 (v2023.03.01) |
| Jul 23, 2023 | 79.89% (0.79889) | 97.85th | v3 (v2023.03.01) |
| Jul 8, 2023 | 81.58% (0.81578) | 97.88th | v3 (v2023.03.01) |
| Jun 10, 2023 | 81.99% (0.81988) | 97.88th | v3 (v2023.03.01) |
| May 8, 2023 | 87.93% (0.87926) | 98.11th | v3 (v2023.03.01) |
| Apr 18, 2023 | 87.67% (0.87668) | 98.07th | v3 (v2023.03.01) |
| Mar 30, 2023 | 91.35% (0.91346) | 98.31th | v3 (v2023.03.01) |
| Mar 13, 2023 | 92.66% (0.92662) | 98.41th | v3 (v2023.03.01) |
| Mar 7, 2023 | 94.49% (0.94491) | 98.69th | v3 (v2023.03.01) |
| Mar 6, 2023 | 18.33% (0.18327) | 96.32th | v2 (v2022.01.01) |
| Apr 1, 2022 | 18.33% (0.18327) | 95.99th | v2 (v2022.01.01) |
| Feb 4, 2022 | 18.33% (0.18327) | 93.57th | v2 (v2022.01.01) |
| Feb 3, 2022 | 12.48% (0.12481) | 88.86th | v1 |
| Jan 6, 2022 | 12.48% (0.12481) | 88.73th | v1 |
| Sep 1, 2021 | 12.48% (0.12481) | 95.90th | v1 |
| Apr 14, 2021 | 12.48% (0.12481) | 0.00th | v1 |
References (18)
- http://php.net/ChangeLog-7.php x_refsource_CONFIRMRelease Notes
- http://www.securityfocus.com/bid/103204 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041607 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:2519 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-7584 Vendor Advisory
- https://bugs.php.net/bug.php?id=75981 x_refsource_CONFIRMIssue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=1551039 Issue Tracking
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba x_refsource_CONFIRMPatch
- https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7584
- https://usn.ubuntu.com/3600-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3600-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-7584
- https://www.debian.org/security/2018/dsa-4240 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.exploit-db.com/exploits/44846/ exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.tenable.com/security/tns-2018-03 x_refsource_CONFIRMThird Party Advisory
- https://www.tenable.com/security/tns-2018-12 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.