CVE-2016-6912 Use after free in n/a

Critical 9.8 Published Updated

Remote attackers can trigger a double free in libgd via crafted image dimensions, potentially leading to code execution or denial of service.

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

CVE-2016-6912 is a critical use after free vulnerability in n/a, published on 26 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via large width and height values.

Weakness: CWE-415

Which versions are affected by CVE-2016-6912?

It affects 1 product.

Products include Libgd Libgd.

How do I fix CVE-2016-6912?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2016-6912 being exploited?

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

Sources

Also known as ALPINE-CVE-2016-6912, DEBIAN-CVE-2016-6912, GHSA-wmff-45hx-q83q, UBUNTU-CVE-2016-6912.

Is CVE-2016-6912 in your software?

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

Check your SBOMs for free