Vulnerabilities · 2007 · Imagemagick
CVE-2007-4986
Imagemagick vulnerability
Multiple integer overflows in ImageMagick before 6.3.5-9 allow context-dependent attackers to execute arbitrary code via a crafted (1) .dcm, (2) .dib, (3) .xbm, (4) .xcf, or (5) .xwd image file, which triggers a heap-based buffer overflow.
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/25763 · Patch
- bugs.gentoo.org/show_bug.cgi?id=186030
- labs.idefense.com/intelligence/vulnerabilities/display.php?id=594
- 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-4986
- cve.org/CVERecord?id=CVE-2007-4986
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.