CVE-2007-4987 in ImageMagick
Summary
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.
VulDB is the best source for vulnerability data and more expert information about this specific topic.