CVE-2008-1097: ImageMagick Graphicsmagick

Medium severity, CVSS 6.8. EPSS: 4.5% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

  • ImageMagick Graphicsmagick: version 1.1.7 only; version 1.1.8 only; version 1.1.9 only; version 1.1.10 only; version 1.1.11 only; version 1.1.12 only
  • ImageMagick ImageMagick: version 6.2.8.0 only; version 6.2.8.1 only; version 6.2.8.2 only; version 6.2.8.3 only

Published 2008-03-05. Last modified 2026-06-16.