CVE-2016-6906 Denial of service in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via out-of-bounds read in libgd when processing crafted TGA files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-6906?

CVE-2016-6906 is a medium-severity denial of service vulnerability in n/a, published on 15 Mar 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The read_image_tga function in gd_tga.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TGA file, related to the decompression buffer.

Weakness: CWE-125

Which versions are affected by CVE-2016-6906?

It affects 1 product.

Products include Libgd Libgd.

How do I fix CVE-2016-6906?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-6906 being exploited?

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

Sources

Also known as ALPINE-CVE-2016-6906, DEBIAN-CVE-2016-6906, GHSA-x7r4-5mq3-7p72, UBUNTU-CVE-2016-6906.

Is CVE-2016-6906 in your software?

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

Check your SBOMs for free