Back
CVE-2007-4987
Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute…
High9.3EPSS 3.8%
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 3.8% · top 9.9% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Weakness
Affected products
n/a
- affected n/a
References (22)
- 27364 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20071112 FLEA-2007-0066-1 ImageMagick (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- USN-523-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 27309 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25766 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.imagemagick.org/script/changelog.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- imagemagick-readblogstring-bo(36739) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- ADV-2007-3245 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- GLSA-200710-27 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 1018729 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- 27048 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28721 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27439 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://issues.rpath.com/browse/RPL-1743 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1858 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [Magick-announce] 20070917 ImageMagick 6.3.5-9, important security updates (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 26926 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- MDVSA-2008:035 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 20070919 Multiple Vendor ImageMagick Off-By-One Vulnerability (opens in a new tab)third-party-advisoryx_refsource_IDEFENSEx_transferred
- http://bugs.gentoo.org/show_bug.cgi?id=186030 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SR:2007:023 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 36260 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-4987)Record last updated .