Skip to content

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 fu...

CriticalCVSS 9.8 EPSS 87.3% PoC
Published
Updated
Exploit status
Proof-of-concept only

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.

Affected products

ProductAffected versionsFixed in
PHP <= 5.6.33 No fix listed
PHP >= 7.0.0, < 7.0.28 7.0.28
PHP >= 7.1.0, <= 7.1.14 No fix listed
PHP >= 7.2.0, <= 7.2.2 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 17.10 No fix listed
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
alpine/php5(Alpine:v3.4) < 5.6.34-r0 5.6.34-r0
alpine/php5(Alpine:v3.5) < 5.6.34-r0 5.6.34-r0
alpine/php5(Alpine:v3.6) < 5.6.34-r0 5.6.34-r0
alpine/php5(Alpine:v3.7) < 5.6.34-r0 5.6.34-r0
alpine/php5(Alpine:v3.8) < 5.6.34-r0 5.6.34-r0
alpine/php7(Alpine:v3.5) < 7.0.28-r0 7.0.28-r0
alpine/php7(Alpine:v3.6) < 7.1.15-r0 7.1.15-r0
alpine/php7(Alpine:v3.7) < 7.1.15-r0 7.1.15-r0

References