Live threats

All CVEs / Imagemagick

CVE-2008-1097Imagemagick Graphicsmagick

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
4.5%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Mar 5, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Graphicsmagick.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
imagemagickgraphicsmagick1.1.7
imagemagickgraphicsmagick1.1.8
imagemagickgraphicsmagick1.1.9
imagemagickgraphicsmagick1.1.10
imagemagickgraphicsmagick1.1.11
imagemagickgraphicsmagick1.1.12
imagemagickimagemagick6.2.8.0
imagemagickimagemagick6.2.8.1
imagemagickimagemagick6.2.8.2
imagemagickimagemagick6.2.8.3

Official sources

References

Links published by the sources. Open them with care.