CVE-2016-7412 Memory corruption in n/a

High 8.1 Published Updated

A heap-based buffer overflow in the PHP MySQL driver allows remote servers to cause denial of service or potentially execute code via crafted metadata.

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-7412?

CVE-2016-7412 is a high-severity memory corruption vulnerability in Php Php, published on 17 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag, which allows remote MySQL servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via crafted field metadata.

Weakness: CWE-119

Which versions are affected by CVE-2016-7412?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-7412?

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-2016-7412 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as ALPINE-CVE-2016-7412, GHSA-m5g2-hw2w-vfvh, UBUNTU-CVE-2016-7412.

Is CVE-2016-7412 in your software?

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

Check your SBOMs for free