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

Medium 4.3 Published Updated

Attackers can cause a denial of service in ImageMagick by tricking users into opening crafted image files that trigger infinite loops.

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

CVE-2007-4985 is a medium-severity denial of service vulnerability in Imagemagick Imagemagick, published on 24 Sep 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

ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file that triggers (1) an infinite loop in the ReadDCMImage function, related to ReadBlobByte function calls; or (2) an infinite loop in the ReadXCFImage function, related to ReadBlobMSBLong function calls.

Weakness: CWE-399

Which versions are affected by CVE-2007-4985?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2007-4985?

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-4985 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-4985, GHSA-fxg4-75m7-4xj5.

Is CVE-2007-4985 in your software?

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

Check your SBOMs for free