Vulnerabilities · 2006 · Imagemagick
CVE-2006-2440
Imagemagick vulnerability
Heap-based buffer overflow in the libMagick component of ImageMagick 6.0.6.2 might allow attackers to execute arbitrary code via an image index array that triggers the overflow during filename glob expansion by the ExpandFilenames function.
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
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=345595 · Patch
- secunia.com/advisories/21719
- secunia.com/advisories/24186
- secunia.com/advisories/24284
- www.debian.org/security/2006/dsa-1168
- www.redhat.com/support/errata/RHSA-2007-0015.html
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9481
- nvd.nist.gov/vuln/detail/CVE-2006-2440
- cve.org/CVERecord?id=CVE-2006-2440
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.