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…
- 9.8CriticalCVSS base score
- 87.3%Exploitation in 30 daysEPSS · top 0.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- PHP 7.2.2 - 'php_stream_url_wrap_http_ex' Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 44846dos, phppublished 6 Jun 2018Verified
References tagged exploit1 reference
- 44846 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 87.3% · top 0.2% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
References
14
- USN-3600-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-4240 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://bugs.php.net/bug.php?id=75981 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20180329 [SECURITY] [DLA 1326-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.tenable.com/security/tns-2018-12 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.tenable.com/security/tns-2018-03 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1041607 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba (opens in a new tab)x_refsource_CONFIRMx_transferred
- 44846 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- [debian-lts-announce] 20180626 [SECURITY] [DLA 1397-1] php5 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3600-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 103204 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2019:2519 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-19305 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-7584)Record last updated .