PT-2007-3151 · Imagemagick+1 · Imagemagick+1

Published

2007-04-02

·

Updated

2024-06-15

·

CVE-2007-1797

CVSS v2.0

6.8

Medium

VectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions: ImageMagick versions prior to 6.3.3-5
Description: The issue is related to multiple integer overflows that can be exploited by remote attackers to execute arbitrary code. This can be achieved through a crafted DCM image, which causes a heap-based overflow in the ReadDCMImage function, or by exploiting the colors or comments field in a crafted XWD image, resulting in a heap-based overflow in the ReadXWDImage function.
Recommendations: For versions prior to 6.3.3-5, update to version 6.3.3-5 or later to resolve the issue. As a temporary workaround, consider restricting the use of the ReadDCMImage and ReadXWDImage functions until a patch is applied. Avoid processing crafted DCM or XWD images with vulnerable versions of ImageMagick to minimize the risk of exploitation.

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2007-1797
DSA-1858-1
DSA-1903-1
OPENSUSE-SU-2024:10596-1
OPENSUSE-SU-2024:10597-1
RHSA-2008:0145
RHSA-2008:0165
RHSA-2008_0145

Affected Products

Imagemagick
Red Hat