CVE-2007-4987

NameCVE-2007-4987
DescriptionOff-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.
SourceCVE (at NVD; oss-sec, fulldisc, OSVDB, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, more)
ReferencesDSA-1858-1, DTSA-63-1
NVD severityhigh (attack range: remote, user-initiated)
Debian Bugs444267
Debian/oldstablenot vulnerable.
Debian/stablenot vulnerable.
Debian/testingnot vulnerable.
Debian/unstablenot vulnerable.

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)squeeze (security), squeeze8:6.6.0.4-3+squeeze4fixed
squeeze (lts)8:6.6.0.4-3+squeeze5fixed
wheezy, wheezy (security)8:6.7.7.10-5+deb7u3fixed
sid, jessie8:6.8.9.9-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
imagemagicksource(unstable)7:6.2.4.5.dfsg1-2medium444267
imagemagicksourceetch7:6.2.4.5.dfsg1-0.15+etch1highDSA-1858-1
imagemagicksourcelenny7:6.3.7.9.dfsg2-1~lenny3highDSA-1858-1

Search for package or bug name: Reporting problems