Every CVE Search/ Get API key

CVE-2007-4987

Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows...

9.3 HighFix available

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.

Exploit likelihood

3.82%Up 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.3

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.

Record
CVE-2007-4987
CVSS 2.0
9.3 HighAV:N/AC:M/Au:N/C:C/I:C/A:C
Weakness
CWE-189
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-4987
Updated
2026-11-02
EUVDEUVD-2007-4968 No score

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.

Record
EUVD-2007-4968
Updated
2026-11-03
GitHub AdvisoriesGHSA-8r4q-vv4v-f978 No score

Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows...

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.

Record
GHSA-8r4q-vv4v-f978
Updated
2026-11-02
OSV No score

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.

Record
CVE-2007-4987
Updated
2026-11-02
OSVDEBIAN-CVE-2007-4987 No score

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.

Record
DEBIAN-CVE-2007-4987
Updated
2026-11-02
OSVopenSUSE-SU-2024:10597-1 No score

ImageMagick-7.1.0.8-1.2 on GA media

These are all security issues fixed in the ImageMagick-7.1.0.8-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10597-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 7:6.2.4.5.dfsg1-2
7:6.2.4.5.dfsg1-2
imagemagick
Debian:13
before 7:6.2.4.5.dfsg1-2
7:6.2.4.5.dfsg1-2
imagemagick
Debian:14
before 7:6.2.4.5.dfsg1-2
7:6.2.4.5.dfsg1-2
imagemagick
Debian:4.0
From an advisory covering 9 CVEs
before 7:6.2.4.5.dfsg1-0.15+etch1, plus listed versions
7:6.2.4.5.dfsg1-0.14
7:6.2.4.5.dfsg1-0.15+etch1
imagemagick
Debian:5.0
From an advisory covering 9 CVEs
before 7:6.3.7.9.dfsg2-1~lenny3, plus listed versions
7:6.3.7.9.dfsg1-37:6.3.7.9.dfsg1-3~lenny17:6.3.7.9.dfsg2-1~lenny1
7:6.3.7.9.dfsg2-1~lenny3
imagemagick
Debian:5.0
From an advisory covering 4 CVEs
before 7:6.2.4.5.dfsg1-1+lenny1
7:6.2.4.5.dfsg1-1+lenny1
ImageMagick
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 7.1.0.8-1.2
7.1.0.8-1.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
aliases
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-4987 is a high vulnerability (CVSS 9.3) in Imagemagick, published September 24, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.82%, the 90th percentile. Fixed in imagemagick 7:6.2.4.5.dfsg1-2.

References

Show 26 moreShow less
MoveEnter Open