CVE-2018-7584
publishedphp: Stack-based buffer under-read in php_stream_url_wrap_http_ex() in http_fopen_wrapper.c when parsing HTTP response
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.4 | php5 | Fixed | 5.6.34-r0 | Package fix record |
| Debian | jessie | php5 | Advisory build | 5.6.36+dfsg-0+deb8u1 | DLA-1397-1 |
| Oracle Linux | 7 | phpaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Alpine Linux | v3.5 | php5 | Fixed | 5.6.34-r0 | Package fix record |
| Alpine Linux | v3.5 | php7 | Fixed | 7.0.28-r0 | Package fix record |
| Alpine Linux | v3.6 | php5 | Fixed | 5.6.34-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.6 | php7 | Fixed | 7.1.15-r0 | Package fix record |
| Alpine Linux | v3.7 | php5 | Fixed | 5.6.34-r0 | Package fix record |
| Alpine Linux | v3.7 | php7 | Fixed | 7.1.15-r0 | Package fix record |
| Alpine Linux | v3.8 | php5 | Fixed | 5.6.34-r0 | Package fix record |
| Debian | stretch | php7.0 | Advisory build | 7.0.30-0+deb9u1 | DSA-4240-1 |
| Debian | wheezy | php5 | Advisory build | 5.4.45-0+deb7u13 | DLA-1326-1 |
| Oracle Linux | 7 | phpx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-bcmathaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-bcmathx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-cliaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-clix86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-commonaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-commonx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-dbaaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-dbax86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-develaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-develx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-embeddedaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-embeddedx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-enchantaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-enchantx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-fpmaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-fpmx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-gdaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-gdx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-intlaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-intlx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-ldapaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-ldapx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mbstringaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mbstringx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mysqlaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mysqlx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mysqlndaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-mysqlndx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-odbcaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-odbcx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pdoaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pdox86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pgsqlaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pgsqlx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-processaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-processx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pspellaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-pspellx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-recodeaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-recodex86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-snmpaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-snmpx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-soapaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-soapx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-xmlaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-xmlx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-xmlrpcaarch64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Oracle Linux | 7 | php-xmlrpcx86_64 | Advisory build | 0:5.4.16-48.el7 | ELSA-2020-1112 |
| Red Hat Enterprise Linux | RHEL-7 | phpppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | phps390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | phpsrc | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | phpx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmaths390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-bcmathx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-clippc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-clippc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-clis390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-clix86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-commons390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-commonx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbappc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbappc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbas390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-dbax86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfoppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfoppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfos390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-debuginfox86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-develppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-develppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-devels390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-develx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddedppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddedppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddeds390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-embeddedx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchantppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchantppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchants390x | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-enchantx86_64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-fpmppc64 | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
| Red Hat Enterprise Linux | RHEL-7 | php-fpmppc64le | Advisory build | 5.4.16-48.el7 | RHSA-2020:1112 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
14- http://php.net/ChangeLog-7.php
- 103204 http://www.securityfocus.com/bid/103204
- 1041607 http://www.securitytracker.com/id/1041607
- RHSA-2019:2519 https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=75981
- https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba
- [debian-lts-announce] 20180329 [SECURITY] [DLA 1326-1] php5 security update https://lists.debian.org/debian-lts-announce/2018/03/msg00030.html
- [debian-lts-announce] 20180626 [SECURITY] [DLA 1397-1] php5 security update https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html
- USN-3600-1 https://usn.ubuntu.com/3600-1/
- USN-3600-2 https://usn.ubuntu.com/3600-2/
- DSA-4240 https://www.debian.org/security/2018/dsa-4240
- 44846 https://www.exploit-db.com/exploits/44846/
- https://www.tenable.com/security/tns-2018-03
- https://www.tenable.com/security/tns-2018-12
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0988dd6130e4c0587d876d628dcef9dfb5674bf514a5ab366258da6be17572b6
- Ingested
- 23 Sep 2026, 07:45:05 UTC
- Source record
- Official CVE record