CVE-2007-1797 Integer overflow in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code via crafted DCM or XWD images due to integer overflows in ImageMagick.

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

CVE-2007-1797 is a medium-severity vulnerability in Imagemagick Imagemagick, published on 2 Apr 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

Multiple integer overflows in ImageMagick before 6.3.3-5 allow remote attackers to execute arbitrary code via (1) a crafted DCM image, which results in a heap-based overflow in the ReadDCMImage function, or (2) the (a) colors or (b) comments field in a crafted XWD image, which results in a heap-based overflow in the ReadXWDImage function, different issues than CVE-2007-1667.

Weakness: CWE-189

Which versions are affected by CVE-2007-1797?

It affects 1 product.

Products include Imagemagick Imagemagick.

How do I fix CVE-2007-1797?

Upgrade to a fixed version.

Is CVE-2007-1797 being exploited?

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

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2007-1797, GHSA-r8m6-cvrj-9326.

Is CVE-2007-1797 in your software?

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

Check your SBOMs for free