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 phpstreamurlwraphttpex function in ext/standard/httpfopen_wrapper.c. This subsequently results in copying a large string.
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "ext/standard/http_fopen_wrapper.c", "function": "php_stream_url_wrap_http_ex" }, "deprecated": false, "digest": { "length": 20763.0, "function_hash": "235742458703237748127320784434867975092" }, "id": "CVE-2018-7584-541194b9", "source": "https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "ext/standard/http_fopen_wrapper.c" }, "deprecated": false, "digest": { "line_hashes": [ "302318251668703795837139744017837865352", "333173997746499205889019872887678987232", "118657766010197903785616399644239149972", "335074228026685228301729749727312645254", "307651456529529732890967808800659929599", "18705976883196675039183171683314468822" ], "threshold": 0.9 }, "id": "CVE-2018-7584-7c6044be", "source": "https://github.com/php/php-src/commit/523f230c831d7b33353203fa34aee4e92ac12bba" } ] }