ID CVE-2008-1097
Summary Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .pcx file that triggers incorrect memory allocation for the scanline array, leading to memory corruption.
References
Vulnerable Configurations
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:graphicsmagick:1.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:graphicsmagick:1.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:imagemagick:6.2.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:imagemagick:6.2.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:imagemagick:6.2.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:imagemagick:6.2.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:imagemagick:6.2.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:imagemagick:6.2.8.2:*:*:*:*:*:*:*
  • cpe:2.3:a:imagemagick:imagemagick:6.2.8.3:*:*:*:*:*:*:*
    cpe:2.3:a:imagemagick:imagemagick:6.2.8.3:*:*:*:*:*:*:*
CVSS
Base: 6.8 (as of 29-09-2017 - 01:30)
Impact:
Exploitability:
CWE CWE-399
CAPEC
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:P/I:P/A:P
oval via4
accepted 2013-04-29T04:12:35.608-04:00
class vulnerability
contributors
  • name Aharon Chernin
    organization SCAP.com, LLC
  • name Dragos Prisaca
    organization G2, Inc.
definition_extensions
  • comment The operating system installed on the system is Red Hat Enterprise Linux 3
    oval oval:org.mitre.oval:def:11782
  • comment CentOS Linux 3.x
    oval oval:org.mitre.oval:def:16651
  • comment The operating system installed on the system is Red Hat Enterprise Linux 4
    oval oval:org.mitre.oval:def:11831
  • comment CentOS Linux 4.x
    oval oval:org.mitre.oval:def:16636
  • comment Oracle Linux 4.x
    oval oval:org.mitre.oval:def:15990
  • comment The operating system installed on the system is Red Hat Enterprise Linux 5
    oval oval:org.mitre.oval:def:11414
  • comment The operating system installed on the system is CentOS Linux 5.x
    oval oval:org.mitre.oval:def:15802
  • comment Oracle Linux 5.x
    oval oval:org.mitre.oval:def:15459
description Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .pcx file that triggers incorrect memory allocation for the scanline array, leading to memory corruption.
family unix
id oval:org.mitre.oval:def:11237
status accepted
submitted 2010-07-09T03:56:16-04:00
title Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and 6.2.8-0 and (2) GraphicsMagick (aka gm) 1.1.7 allows user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted .pcx file that triggers incorrect memory allocation for the scanline array, leading to memory corruption.
version 30
redhat via4
advisories
  • bugzilla
    id 310121
    title CVE-2007-4986 Multiple integer overflows in ImageMagick
    oval
    OR
    • comment Red Hat Enterprise Linux must be installed
      oval oval:com.redhat.rhba:tst:20070304026
    • AND
      • comment Red Hat Enterprise Linux 4 is installed
        oval oval:com.redhat.rhba:tst:20070304025
      • OR
        • AND
          • comment ImageMagick is earlier than 0:6.0.7.1-17.el4_6.1
            oval oval:com.redhat.rhsa:tst:20080145001
          • comment ImageMagick is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060178002
        • AND
          • comment ImageMagick-c++ is earlier than 0:6.0.7.1-17.el4_6.1
            oval oval:com.redhat.rhsa:tst:20080145003
          • comment ImageMagick-c++ is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060178004
        • AND
          • comment ImageMagick-c++-devel is earlier than 0:6.0.7.1-17.el4_6.1
            oval oval:com.redhat.rhsa:tst:20080145005
          • comment ImageMagick-c++-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060178006
        • AND
          • comment ImageMagick-devel is earlier than 0:6.0.7.1-17.el4_6.1
            oval oval:com.redhat.rhsa:tst:20080145007
          • comment ImageMagick-devel is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060178008
        • AND
          • comment ImageMagick-perl is earlier than 0:6.0.7.1-17.el4_6.1
            oval oval:com.redhat.rhsa:tst:20080145009
          • comment ImageMagick-perl is signed with Red Hat master key
            oval oval:com.redhat.rhsa:tst:20060178010
    • AND
      • comment Red Hat Enterprise Linux 5 is installed
        oval oval:com.redhat.rhba:tst:20070331005
      • OR
        • AND
          • comment ImageMagick is earlier than 0:6.2.8.0-4.el5_1.1
            oval oval:com.redhat.rhsa:tst:20080145012
          • comment ImageMagick is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080145013
        • AND
          • comment ImageMagick-c++ is earlier than 0:6.2.8.0-4.el5_1.1
            oval oval:com.redhat.rhsa:tst:20080145014
          • comment ImageMagick-c++ is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080145015
        • AND
          • comment ImageMagick-c++-devel is earlier than 0:6.2.8.0-4.el5_1.1
            oval oval:com.redhat.rhsa:tst:20080145016
          • comment ImageMagick-c++-devel is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080145017
        • AND
          • comment ImageMagick-devel is earlier than 0:6.2.8.0-4.el5_1.1
            oval oval:com.redhat.rhsa:tst:20080145018
          • comment ImageMagick-devel is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080145019
        • AND
          • comment ImageMagick-perl is earlier than 0:6.2.8.0-4.el5_1.1
            oval oval:com.redhat.rhsa:tst:20080145020
          • comment ImageMagick-perl is signed with Red Hat redhatrelease key
            oval oval:com.redhat.rhsa:tst:20080145021
    rhsa
    id RHSA-2008:0145
    released 2008-04-17
    severity Moderate
    title RHSA-2008:0145: ImageMagick security update (Moderate)
  • rhsa
    id RHSA-2008:0165
rpms
  • ImageMagick-0:5.5.6-28
  • ImageMagick-0:6.0.7.1-17.el4_6.1
  • ImageMagick-0:6.2.8.0-4.el5_1.1
  • ImageMagick-c++-0:5.5.6-28
  • ImageMagick-c++-0:6.0.7.1-17.el4_6.1
  • ImageMagick-c++-0:6.2.8.0-4.el5_1.1
  • ImageMagick-c++-devel-0:5.5.6-28
  • ImageMagick-c++-devel-0:6.0.7.1-17.el4_6.1
  • ImageMagick-c++-devel-0:6.2.8.0-4.el5_1.1
  • ImageMagick-debuginfo-0:5.5.6-28
  • ImageMagick-debuginfo-0:6.0.7.1-17.el4_6.1
  • ImageMagick-debuginfo-0:6.2.8.0-4.el5_1.1
  • ImageMagick-devel-0:5.5.6-28
  • ImageMagick-devel-0:6.0.7.1-17.el4_6.1
  • ImageMagick-devel-0:6.2.8.0-4.el5_1.1
  • ImageMagick-perl-0:5.5.6-28
  • ImageMagick-perl-0:6.0.7.1-17.el4_6.1
  • ImageMagick-perl-0:6.2.8.0-4.el5_1.1
  • ImageMagick-0:5.3.8-21
  • ImageMagick-c++-0:5.3.8-21
  • ImageMagick-c++-devel-0:5.3.8-21
  • ImageMagick-devel-0:5.3.8-21
  • ImageMagick-perl-0:5.3.8-21
refmap via4
bid 28822
confirm http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413034
debian DSA-1858
gentoo GLSA-201311-10
mandriva MDVSA-2008:099
misc https://bugzilla.redhat.com/show_bug.cgi?id=285861
osvdb 43213
sectrack 1019881
secunia
  • 29786
  • 29857
  • 30967
  • 36260
  • 55721
suse SUSE-SR:2008:014
xf imagemagick-readpcximage-bo(41193)
Last major update 29-09-2017 - 01:30
Published 05-03-2008 - 20:44
Last modified 29-09-2017 - 01:30
Back to Top