Critical severity · published Mar 1, 2018
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…
9.8
CVSS
87.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)87.3% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
through 5.6.33; 7.0.0 before 7.0.28; 7.1.0 through 7.1.14; 7.2.0 through 7.2.2 · source: NVD
DL
Debian Linux · Debian
7.0; 8.0; 9.0 · source: NVD
UL
Ubuntu Linux · Canonical
12.04; 14.04; 16.04; 17.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-7584
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-7584
Release Notes
http://php.net/ChangeLog-7.php
Third Party Advisory
http://www.securityfocus.com/bid/103204
Third Party Advisory
http://www.securitytracker.com/id/1041607
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:2519
Issue Tracking
https://bugs.php.net/bug.php?id=75981
Patch
https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
