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 88%
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 99.7%
- KEV
- Not listed
Published
March 1, 2018
Last Modified
November 21, 2024
Advisory Details (8)
Auto-updated Jun 6, 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.4.11 (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.
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 3× in last 7d / 18× 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-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
Show 8 moreShow fewer
- 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 ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-119
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
Explore the affected products and dependency analysis for 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.