(Red Hat Issues Fix) ImageMagick DCM and XCM Buffer Overflows Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID: 1019885|
SecurityTracker URL: http://securitytracker.com/id/1019885
(Links to External Site)
Date: Apr 17 2008
Execution of arbitrary code via network, User access via network|
Fix Available: Yes Vendor Confirmed: Yes |
Version(s): prior to 6.3.3-5|
A vulnerability was reported in ImageMagick. A remote user can cause arbitrary code to be executed on the target user's system.|
A remote user can create a specially crafted file that, when loaded by the target user or target application, will trigger an integer overflow or heap overflow and execute arbitrary code on the target system. The code will run with the privileges of the target user or target application that uses the ImageMagick library.
A specially crafted Digital Imaging and Communications in Medicine (DCM) file can trigger a heap overflow in the ReadDCMImage() function.
A specially crafted X Windows Dump (XWD) file can trigger an integer overflow in the the ReadXWDImage() function. The 'colors' and 'comment' parameters are affected.
The vendor was notified on February 28, 2007.
iDefense reported this vulnerability.
A remote user can create a file that, when loaded by the target user or application, will execute arbitrary code on the target system.|
Red Hat has released a fix.|
The Red Hat advisory is available at:
Vendor URL: www.imagemagick.org/ (Links to External Site)
|Underlying OS: Linux (Red Hat Enterprise)|
|Underlying OS Comments: 2.1|
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [RHSA-2008:0165-01] Moderate: ImageMagick security update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Moderate: ImageMagick security update
Advisory ID: RHSA-2008:0165-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2008-0165.html
Issue date: 2008-04-16
Keywords: heap stack buffer integer overflow
CVE Names: CVE-2007-1797 CVE-2007-4985 CVE-2007-4986
Updated ImageMagick packages that correct several security issues are now
available for Red Hat Enterprise Linux version 2.1.
This update has been rated as having moderate security impact by the Red
Hat Security Response Team.
2. Relevant releases/architectures:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
ImageMagick is an image display and manipulation tool for the X Window
System that can read and write multiple image formats.
Several heap-based buffer overflow flaws were found in ImageMagick. If a
victim opened a specially-crafted DCM or XWD file, an attacker could
potentially execute arbitrary code on the victim's machine. (CVE-2007-1797)
Several denial of service flaws were found in ImageMagick's parsing of XCF
and DCM files. Attempting to process a specially crafted input file in
these formats could cause ImageMagick to enter an infinite loop.
Several integer overflow flaws were found in ImageMagick. If a victim
opened a specially-crafted DCM, DIB, XBM, XCF or XWD file, an attacker
could potentially execute arbitrary code with the privileges of the user
running ImageMagick. (CVE-2007-4986)
A heap-based buffer overflow flaw was found in ImageMagick's processing of
certain malformed PCX images. If a victim opened a specially-crafted PCX
file, an attacker could possibly execute arbitrary code with the privileges
of the user running ImageMagick.. (CVE-2008-1097)
All users of ImageMagick should upgrade to these updated packages, which
contain backported patches to correct these issues.
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
5. Bugs fixed (http://bugzilla.redhat.com/):
235071 - CVE-2007-1797 Heap overflow in ImageMagick's DCM and XWD coders
285861 - CVE-2008-1097 Memory corruption in ImageMagick's PCX coder
310091 - CVE-2007-4985 Infinite loops in ImageMagick's XCF and DCM coders
310121 - CVE-2007-4986 Multiple integer overflows in ImageMagick
6. Package List:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 :
Red Hat Linux Advanced Workstation 2.1:
Red Hat Enterprise Linux ES version 2.1:
Red Hat Enterprise Linux WS version 2.1:
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <email@example.com>. More contact
details at https://www.redhat.com/security/team/contact/
Copyright 2008 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list