Bugtraq mailing list archives

[ GLSA 200611-07 ] GraphicsMagick: PALM and DCM buffer overflows


From: Raphael Marichez <falco () gentoo org>
Date: Mon, 13 Nov 2006 23:55:57 +0100

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200611-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GraphicsMagick: PALM and DCM buffer overflows
      Date: November 13, 2006
      Bugs: #152668
        ID: 200611-07

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

GraphicsMagick improperly handles PALM and DCM images, potentially
resulting in the execution of arbitrary code.

Background
==========

GraphicsMagick is a collection of tools and libraries which support
reading, writing, and manipulating images in many major formats.

Affected packages
=================

    -------------------------------------------------------------------
     Package                   /  Vulnerable  /             Unaffected
    -------------------------------------------------------------------
  1  media-gfx/graphicsmagick     < 1.1.7-r3               >= 1.1.7-r3

Description
===========

M. Joonas Pihlaja has reported that a boundary error exists within the
ReadDCMImage() function of coders/dcm.c, causing the improper handling
of DCM images. Pihlaja also reported that there are several boundary
errors in the ReadPALMImage() function of coders/palm.c, similarly
causing the improper handling of PALM images.

Impact
======

An attacker could entice a user to open a specially crafted DCM or PALM
image with GraphicsMagick, and possibly execute arbitrary code with the
privileges of the user running GraphicsMagick.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GraphicsMagick users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-gfx/graphicsmagick-1.1.7-r3"

References
==========

  [ 1 ] CVE-2006-5456
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5456

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200611-07.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security () gentoo org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: _bin
Description:


Current thread: