CVE-2007-2756 Denial of service in n/a

Medium 4.3 Published Updated

An attacker can cause a denial of service via CPU consumption by tricking a user into opening a crafted PNG image in applications using libgd.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-2756?

CVE-2007-2756 is a medium-severity denial of service vulnerability in n/a, published on 18 May 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The gdPngReadData function in libgd 2.0.34 allows user-assisted attackers to cause a denial of service (CPU consumption) via a crafted PNG image with truncated data, which causes an infinite loop in the png_read_info function in libpng.

Which versions are affected by CVE-2007-2756?

It affects 1 product.

Products include Libgd Libgd.

How do I fix CVE-2007-2756?

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-2007-2756 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-2756, GHSA-2rm4-pxv9-x75c.

Is CVE-2007-2756 in your software?

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

Check your SBOMs for free