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.
Severity
Not rated by the source.
Dates
Published
2008-03-05 20:44 UTC
Modified
2026-10-23 17:47 UTC
Affected packages and fixes
graphicsmagick
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1.1.7-13 (ecosystem)
Fixed versions
1.1.7-13
Fix
Fixed version 1.1.7-13
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
graphicsmagick
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 1.1.7-13 (ecosystem)
Fixed versions
1.1.7-13
Fix
Fixed version 1.1.7-13
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
graphicsmagick
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 1.1.7-13 (ecosystem)
Fixed versions
1.1.7-13
Fix
Fixed version 1.1.7-13
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
imagemagick
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 7:6.2.4.5.dfsg1-1 (ecosystem)
Fixed versions
7:6.2.4.5.dfsg1-1
Fix
Fixed version 7:6.2.4.5.dfsg1-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
imagemagick
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 7:6.2.4.5.dfsg1-1 (ecosystem)
Fixed versions
7:6.2.4.5.dfsg1-1
Fix
Fixed version 7:6.2.4.5.dfsg1-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
imagemagick
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 7:6.2.4.5.dfsg1-1 (ecosystem)
Fixed versions
7:6.2.4.5.dfsg1-1
Fix
Fixed version 7:6.2.4.5.dfsg1-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.