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.
CVE-2018-7584
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-14. NVD baseline CVSS 9.8; sources differ by 0.0.
- High exploitation likelihood — EPSS 87%
- Public exploit code is available (Exploit-DB (verified), epss top5pct, epss high, public exploit)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 84(Track*)EG Risk 84/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation88% × 40%Automatability30% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 87%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
March 1, 2018
Last Modified
November 21, 2024
Advisory Details (8)
Auto-updated Sep 2, 2026[SECURITY] [DLA 1397-1] php5 security update
https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html[SECURITY] [DLA 1326-1] php5 security update
https://lists.debian.org/debian-lts-announce/2018/03/msg00030.htmlcommit 523f230c831d (php/php-src)
Patch available: php/php-src php-8.5.1 (contains commit 523f230c831d)
https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bbaPHP :: Sec Bug #75981 :: stack-buffer-overflow while parsing HTTP response
https://bugs.php.net/bug.php?id=75981Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | php7.1-fpm (7.1.15-0ubuntu0.17.10.1) @ artful | 2026-05-28 | ubuntu |
| ubuntu | php5-cgi (5.3.10-1ubuntu3.30) @ precise | 2026-05-28 | ubuntu |
| redhat | php-0:5.4.16-48.el7 | 2020-03-31 | redhat |
| redhat | rh-php71-php-0:7.1.30-1.el7 | 2019-08-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(5 across 5 ecosystems)
Alpine:v3.4(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php5 | 5.2.10-r0 ... 5.6.9-r1 (164 versions) | 5.6.34-r0 | — |
Alpine:v3.5(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php5 | 5.2.10-r0 ... 5.6.9-r1 (169 versions) | 5.6.34-r0 | — |
Debian:7(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php5 | 5.4.11-1 ... 5.4.9-4 (47 versions) | 5.4.45-0+deb7u13 | — |
Debian:8(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php5 | 5.6.11+dfsg-1 ... 5.6.9+dfsg-1 (41 versions) | 5.6.36+dfsg-0+deb8u1 | — |
Debian:9(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| php7.0 | 7.0.19-1 ... 7.0.29-1 (12 versions) | 7.0.30-0+deb9u1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(4)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 2× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-04 13:56 UTCEPSS rescore
- 2026-08-30 19:13 UTCEPSS rescore
- 2026-08-28 21:36 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-24 14:11 UTCEPSS rescore
- 2026-08-22 22:07 UTCOSV refresh
- 2026-08-21 23:45 UTCEPSS rescore
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-13 21:56 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-07 01:09 UTCOSV refresh
- 2026-07-25 14:14 UTCEPSS rescore
- 2026-07-25 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 01:37 UTCEG score recompute
- 2026-07-22 22:17 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 16:48 UTCOSV refresh
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
Show 38 moreShow fewer
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-08 15:11 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-04 12:56 UTCOSV refresh
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 00:13 UTCOSV refresh
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 10:56 UTCEG score recompute
- 2026-05-28 10:56 UTCVendor advisory
- 2026-05-28 10:56 UTCGHSA enrichment
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 01:46 UTCOSV refresh
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-44846✓ verifiedFirst seen Jun 6, 2018
PHP 7.2.2 - 'php_stream_url_wrap_http_ex' Buffer Overflow
Open source ↗
Frequently asked(5)
What is CVE-2018-7584?
When was CVE-2018-7584 disclosed?
Is CVE-2018-7584 actively exploited?
What is the CVSS score of CVE-2018-7584?
How do I remediate CVE-2018-7584?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-7584
Is Your Infrastructure Affected by CVE-2018-7584?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.