CVE-2018-7584

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-14. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Weaponized
9.8
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 88%
CISA-KEV: Not listedEPSS: 88%CVSS: 9.8Exploit: NoneExposed: 0

A fix is available — apply it.

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.

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
Patch available. Sources: redhat, github_commit.
generic Patch Available

[SECURITY] [DLA 1397-1] php5 security update

https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html
generic Patch Available

[SECURITY] [DLA 1326-1] php5 security update

https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html
github_commit Patch Available

commit 523f230c831d (php/php-src)

Patch available: php/php-src php-8.4.11 (contains commit 523f230c831d)

https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba
generic

PHP :: Sec Bug #75981 :: stack-buffer-overflow while parsing HTTP response

https://bugs.php.net/bug.php?id=75981
generic

PHP: PHP 7 ChangeLog

http://php.net/ChangeLog-7.php

Patch Availability(4)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntuphp7.1-fpm (7.1.15-0ubuntu0.17.10.1) @ artful2026-05-28ubuntu
ubuntuphp5-cgi (5.3.10-1ubuntu3.30) @ precise2026-05-28ubuntu
redhatphp-0:5.4.16-48.el72020-03-31redhat
redhatrh-php71-php-0:7.1.30-1.el72019-08-19redhat

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.

  1. 2026-07-06 16:25 UTCEPSS rescore
  2. 2026-07-06 16:24 UTCEPSS rescore
  3. 2026-07-04 12:56 UTCOSV refresh
  4. 2026-06-28 04:53 UTCEPSS rescore
  5. 2026-06-28 04:53 UTCEPSS rescore
  6. 2026-06-24 14:02 UTCEPSS rescore
  7. 2026-06-24 14:02 UTCEPSS rescore
  8. 2026-06-23 21:30 UTCEPSS rescore
  9. 2026-06-23 21:30 UTCEPSS rescore
  10. 2026-06-17 17:50 UTCEPSS rescore
  11. 2026-06-16 00:13 UTCOSV refresh
  12. 2026-06-15 17:45 UTCEPSS rescore
  13. 2026-06-12 23:09 UTCEPSS rescore
  14. 2026-06-12 23:09 UTCEPSS rescore
  15. 2026-06-10 22:16 UTCEPSS rescore
  16. 2026-06-08 14:14 UTCEPSS rescore
  17. 2026-06-07 15:22 UTCEPSS rescore
  18. 2026-06-07 15:22 UTCEPSS rescore
  19. 2026-06-06 13:45 UTCEPSS rescore
  20. 2026-06-06 13:45 UTCEPSS rescore
  21. 2026-06-05 22:45 UTCEPSS rescore
  22. 2026-06-05 22:45 UTCEPSS rescore
  23. 2026-06-05 06:08 UTCEPSS rescore
  24. 2026-06-05 06:08 UTCEPSS rescore
  25. 2026-05-31 00:14 UTCEPSS rescore
Show 8 more
  1. 2026-05-31 00:14 UTCEPSS rescore
  2. 2026-05-28 13:43 UTCEPSS rescore
  3. 2026-05-28 13:42 UTCEPSS rescore
  4. 2026-05-28 10:56 UTCEG score recompute
  5. 2026-05-28 10:56 UTCVendor advisory
  6. 2026-05-28 10:56 UTCGHSA enrichment
  7. 2026-05-27 13:38 UTCEPSS rescore
  8. 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✓ verified
    First 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?
CVE-2018-7584 is a critical vulnerability published on March 1, 2018. 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 phpstreamurlwraphttpex function in ext/standard/httpfopen_wrapper.c. This subsequently results in copying a large string.
When was CVE-2018-7584 disclosed?
CVE-2018-7584 was first published in the National Vulnerability Database on March 1, 2018, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2018-7584 actively exploited?
CVE-2018-7584 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.7% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2018-7584?
CVE-2018-7584 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2018-7584?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2018-7584, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2018-7584

Explore →

Is Your Infrastructure Affected by CVE-2018-7584?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.