{"cve":"CVE-2007-4987","nvd":{"published":"2007-09-24T22:17:00.000","modified":"2026-06-16T22:45:13.550","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-189"],"references":["http://bugs.gentoo.org/show_bug.cgi?id=186030","http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=595","http://secunia.com/advisories/26926","http://secunia.com/advisories/27048","http://secunia.com/advisories/27309"],"products":["imagemagick:imagemagick"],"source":"nvd","synced_at":"2026-10-19T19:48:28.501292361+00:00"},"epss":{"cve":"CVE-2007-4987","score":0.03819,"percentile":0.90061,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}