Vulnerabilities · 2008 · Imagemagick
CVE-2008-1097
Imagemagick Graphicsmagick vulnerability
Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .pcx file that triggers incorrect memory allocation for the scanline array, leading to memory corruption.
Affected products
Graphicsmagick, Imagemagick. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick Graphicsmagick 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
- bugzilla.redhat.com/show_bug.cgi?id=285861 · Exploit
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=413034
- lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
- osvdb.org/43213
- secunia.com/advisories/29786
- secunia.com/advisories/29857
- secunia.com/advisories/30967
- secunia.com/advisories/36260
- nvd.nist.gov/vuln/detail/CVE-2008-1097
- cve.org/CVERecord?id=CVE-2008-1097
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.