CVE-2018-7584 Memory corruption in n/a

Critical 9.8 Published Updated

A stack-based buffer under-read in PHP's HTTP response parsing allows attackers to cause denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7584?

CVE-2018-7584 is a critical memory corruption vulnerability in Canonical Ubuntu Linux, published on 1 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2018-7584?

It affects 3 products.

Linux distribution packages (6)
php5 SUSE:Linux Enterprise Module for Web and Scripting 12All versions5.5.14-109.24.1
php7 SUSE:Linux Enterprise Module for Web and Scripting 12All versions7.0.7-50.32.1
php5 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions5.5.14-109.24.1
php7 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions7.0.7-50.32.1
php5 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions5.5.14-109.24.1
php7 SUSE:Linux Enterprise Software Development Kit 12 SP3All versions7.0.7-50.32.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Php Php.

How do I fix CVE-2018-7584?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-7584 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-7584 exists.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-7584, DLA-1326-1, GHSA-w5h8-6928-2j67, MGASA-2018-0167, SUSE-SU-2018:0646-1, SUSE-SU-2018:0717-1 and 1 more.

Is CVE-2018-7584 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free