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.
Published 2007-09-24 22:17:00
Updated 2025-04-09 00:30:58
Source MITRE
View at NVD,   CVE.org
Vulnerability category: Execute code

Products affected by CVE-2007-4987

Exploit prediction scoring system (EPSS) score for CVE-2007-4987

3.66%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2007-4987

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
9.3
HIGH AV:N/AC:M/Au:N/C:C/I:C/A:C
8.6
10.0
NIST

CWE ids for CVE-2007-4987

  • Assigned by: nvd@nist.gov (Primary)

Vendor statements for CVE-2007-4987

  • Red Hat 2007-12-05
    Note: As the address of the overwritten byte is not under attacker’s control, the worst impact his bug could have is an application crash. It can not be exploited to execute arbitrary code.

References for CVE-2007-4987

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!