Skip to content
OpenAdvisories
Unscored CVE-2007-4987 EUVD-2007-4968GHSA-8r4q-vv4v-f978

Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbit…

Published Sep 24, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

Off-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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 7:6.2.4.5.dfsg1-2 —
Debian 13 imagemagick 7:6.2.4.5.dfsg1-2 —
Debian 12 imagemagick 7:6.2.4.5.dfsg1-2 —
Debian 5.0 imagemagick 7:6.2.4.5.dfsg1-1+lenny1 DTSA-63-1, DSA-1858-1
Debian 4.0 imagemagick 7:6.2.4.5.dfsg1-0.15+etch1 DSA-1858-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.0.8-1.2 openSUSE-SU-2024:10597-1

Advisories 3

References