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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1858-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
graphicsmagick (PTS)bullseye (security), bullseye1.4+really1.3.36+hg16481-2+deb11u1fixed
bookworm1.4+really1.3.40-4fixed
sid, trixie1.4+really1.3.43-1fixed
imagemagick (PTS)bullseye (security), bullseye8:6.9.11.60+dfsg-1.3+deb11u3fixed
bookworm, bookworm (security)8:6.9.11.60+dfsg-1.6+deb12u1fixed
sid, trixie8:6.9.13.12+dfsg1-1fixed

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

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

Search for package or bug name: Reporting problems