PT-2007-6099 · Imagemagick · Imagemagick
Regenrecht
·
Published
2007-09-24
·
Updated
2024-06-15
·
CVE-2007-4987
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
ImageMagick versions prior to 6.3.5-9
Description
The issue is caused by an off-by-one error in the ReadBlobString function in blob.c, which allows context-dependent attackers to execute arbitrary code via a crafted image file. This error triggers the writing of a '0' character to an out-of-bounds address.
Recommendations
For versions prior to 6.3.5-9, update to version 6.3.5-9 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ReadBlobString function in blob.c to minimize the risk of exploitation. Avoid using the function to process untrusted image files until the issue is resolved.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Imagemagick