CVE-2008-1097

NameCVE-2008-1097
DescriptionHeap-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1858-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)wheezy1.3.16-1.1fixed
wheezy (security)1.3.16-1.1+deb7u3fixed
jessie1.3.20-3+deb8u1fixed
stretch1.3.24-1fixed
sid1.3.24-2fixed
imagemagick (PTS)wheezy8:6.7.7.10-5+deb7u4fixed
wheezy (security)8:6.7.7.10-5+deb7u7fixed
jessie8:6.8.9.9-5+deb8u2fixed
jessie (security)8:6.8.9.9-5+deb8u3fixed
stretch, sid8:6.8.9.9-7.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
graphicsmagicksource(unstable)1.1.7-13medium
imagemagicksource(unstable)7:6.2.4.5.dfsg1-1medium
imagemagicksourceetch7:6.2.4.5.dfsg1-0.15+etch1mediumDSA-1858-1
imagemagicksourcelenny7:6.3.7.9.dfsg2-1~lenny3mediumDSA-1858-1

Search for package or bug name: Reporting problems