CVE-2016-7398 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can crash PHP or execute arbitrary code via crafted HTTP requests due to a type confusion vulnerability in the pecl-http extension.

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

What is CVE-2016-7398?

CVE-2016-7398 is a critical memory corruption vulnerability in n/a, published on 6 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A type confusion vulnerability in the merge_param() function of php_http_params.c in PHP's pecl-http extension 3.1.0beta2 (PHP 7) and earlier as well as 2.6.0beta2 (PHP 5) and earlier allows attackers to crash PHP and possibly execute arbitrary code via crafted HTTP requests.

Weakness: CWE-704

Which versions are affected by CVE-2016-7398?

It affects 1 product.

Products include Php Ext-Http.

How do I fix CVE-2016-7398?

Apply the vendor's patch.

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

Is CVE-2016-7398 being exploited?

There is no known exploitation of CVE-2016-7398 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2016-7398, DLA-1929-1, GHSA-jx2x-3hjr-6vp8, UBUNTU-CVE-2016-7398.

Is CVE-2016-7398 in your software?

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

Check your SBOMs for free