CVE-2007-4987
Off-by-one error in ImageMagick ReadBlobString allows arbitrary code execution
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete
CVSS summary v2.0
9.3High
- Published:
- Updated:
- EPSS:
- 3.819%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:imagemagick | imagemagick | Affected versions:5.3.3Show full version range for imagemagick5.3.85.4.2.35.4.35.4.4.55.4.75.4.85.4.8.2_1.1.05.5.3_.2_1.2.05.5.45.5.65.5.6.0_200304095.5.75.5.7.156.06.0.16.0.26.0.2.56.0.36.0.46.0.4.46.0.56.0.66.0.6.26.0.76.0.86.16.1.16.1.26.1.36.1.46.1.56.1.66.1.76.1.86.26.2.0.36.2.0.76.2.16.2.26.2.36.2.3.46.2.46.2.4.36.2.4.56.2.56.2.66.2.76.2.86.2.96.2.9.26.3.16.3.26.3.3_36.3.3_56.3.3_66.3.4 |
| Vendor:Debian | imagemagickEnvironments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:Debian | libmagick++9-devEnvironments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:Debian | libmagick++9c2aEnvironments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:Debian | libmagick9Environments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:Debian | libmagick9-devEnvironments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:Debian | perlmagickEnvironments (4)
| Affected versions: < 7:6.2.4.5.dfsg1-2 |
| Vendor:SUSE | libMagickCore1Environments (1)
| Affected versions: < 0:6.4.3.6-7.20.1 |
| Vendor:SUSE | libMagickCore1-32bitEnvironments (1)
| Affected versions: < 0:6.4.3.6-7.20.1 |
| Vendor:SUSE | libMagickCore1Environments (1)
| Affected versions: < 0:6.4.3.6-7.22.1 |
1–10 of 51 · Page 1 of 6
CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:C/I:C/A:Cnvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:C/I:C/A:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories31
- CVE List / CNA
- NVD
- Wazuh CTI
- SUSE VEX
- FIRST EPSS
- novell.com
- mandriva.com
- debian.org
- securitytracker.com
- securityfocus.com
- security.gentoo.org
- securityfocus.com
- vupen.com
- secunia.com
- secunia.com
- labs.idefense.com
- bugs.gentoo.org
- secunia.com
- ubuntu.com
- secunia.com
- imagemagick.org
- exchange.xforce.ibmcloud.com
- secunia.com
- issues.rpath.com
- secunia.com
- studio.imagemagick.org
- secunia.com
- SUSE-SR:2007:023
- SUSE CVE-2007-4987
- security-tracker.debian.org
- Mitre CVE-2007-4987
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences