CVE-2018-7584

Exp

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.

Published: 2018-03-01 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-7584 is rated High Exploit Risk (93.9/100): CVSS Critical severity, with high exploitation likelihood (EPSS 87.88%, 100th percentile). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +4.82% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2018-7584

EDB-ID Source Kind Published Link
44846 exploit_db edb 2018-06-06 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2018-7584

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 83.07% 87.88% +4.82%
2 2026-03-04 76.52% 83.07% +6.55%
3 2026-03-01 76.52%

Full EPSS history (51 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-7584

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2018-7584

OS Trackers for CVE-2018-7584

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2018-7584
suse medium CVE-2018-7584 severity moderate: SUSE including 232 source package names (apache2-mod_php5-5.2.14-0.7.30.111.20.1, apache2-mod_php5-5.5.14-109.24.1, …), 440 product×package rows across 14 product lines (SUSE Liberty Linux 7, SUSE Liberty Linux 7 LTSS, … (14 product lines)): Fixed 440. https://www.suse.com/security/cve/CVE-2018-7584/
ubuntu medium CVE-2018-7584 medium priority: Ubuntu including 4 source packages (php5, php7.0, php7.1, php7.2), 20 status rows across 5 suites (artful, bionic, trusty, upstream, xenial): DNE 12, released 8. https://ubuntu.com/security/CVE-2018-7584

Affected software / configurations for CVE-2018-7584

Vendor Product Version Raw CPE
php php <= 5.6.33 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.0.0, < 7.0.28 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.1.0, <= 7.1.14 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.2.0, <= 7.2.2 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 17.10 cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
debian debian_linux 7.0 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

References for CVE-2018-7584

URL Tags
http://php.net/ChangeLog-7.php Release Notes
http://www.securityfocus.com/bid/103204 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1041607 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:2519
https://bugs.php.net/bug.php?id=75981 Issue Tracking
https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba Patch
https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html Mailing List Third Party Advisory
https://usn.ubuntu.com/3600-1/ Third Party Advisory
https://usn.ubuntu.com/3600-2/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4240 Third Party Advisory
https://www.exploit-db.com/exploits/44846/ Exploit Third Party Advisory VDB Entry
https://www.tenable.com/security/tns-2018-03 Third Party Advisory
https://www.tenable.com/security/tns-2018-12 Third Party Advisory
cvelogic Threat Intelligence