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; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1858-1, DTSA-63-1
NVD severityhigh (attack range: remote)
Debian Bugs444267

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
imagemagick (PTS)wheezy8:6.7.7.10-5+deb7u4fixed
wheezy (security)8:6.7.7.10-5+deb7u7fixed
jessie8:6.8.9.9-5+deb8u4fixed
jessie (security)8:6.8.9.9-5+deb8u5fixed
stretch, sid8:6.8.9.9-7.2fixed

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