CVE-2007-4987: ImageMagick writes terminating NUL one byte beyond char array end

Severity: Critical

CVSS Score: 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.