CVE-2018-7584

CVE-2018-7584 is a critical-severity vulnerability in Php with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 88% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.

Key facts

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.

Frequently asked questions

What is CVE-2018-7584?
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.
How severe is CVE-2018-7584?
CVE-2018-7584 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2018-7584 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 88% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2018-7584?
CVE-2018-7584 primarily affects Php. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2018-7584?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
When was CVE-2018-7584 published?
CVE-2018-7584 was published on 2018-03-01 and last updated on 2026-06-17.

References

Affected products (8)

More vulnerabilities in Php

All CVEs affecting Php →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: