Vulnerabilities · 2007 · Imagemagick
CVE-2007-4985
Imagemagick vulnerability
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.
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
- www.securityfocus.com/bid/25764 · Patch
- bugs.gentoo.org/show_bug.cgi?id=186030
- labs.idefense.com/intelligence/vulnerabilities/display.php?id=596
- secunia.com/advisories/26926
- secunia.com/advisories/27048
- secunia.com/advisories/27309
- secunia.com/advisories/27364
- secunia.com/advisories/27439
- nvd.nist.gov/vuln/detail/CVE-2007-4985
- cve.org/CVERecord?id=CVE-2007-4985
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.