Vulnerabilities · 2007 · Imagemagick
CVE-2007-1797
Imagemagick vulnerability
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.
Affected products
Imagemagick. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- labs.idefense.com/intelligence/vulnerabilities/display.php?id=496 · Patch
- secunia.com/advisories/24721
- secunia.com/advisories/24739
- secunia.com/advisories/25072
- secunia.com/advisories/25206
- secunia.com/advisories/25992
- secunia.com/advisories/26177
- secunia.com/advisories/29786
- nvd.nist.gov/vuln/detail/CVE-2007-1797
- cve.org/CVERecord?id=CVE-2007-1797
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.