Vulnerability Name:

CVE-2008-1097 (CCN-41193)

Assigned:2007-03-11
Published:2007-03-11
Updated:2017-09-29
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.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
5.0 Medium (Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
5.0 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-399
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: Debian Bug report logs - #413034
graphicsmagick: Heap overflow in PCX coder.

Source: CONFIRM
Type: UNKNOWN
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413034

Source: MITRE
Type: CNA
CVE-2008-1097

Source: SUSE
Type: UNKNOWN
SUSE-SR:2008:014

Source: OSVDB
Type: UNKNOWN
43213

Source: CCN
Type: RHSA-2008-0145
Moderate: ImageMagick security update

Source: CCN
Type: RHSA-2008-0165
Moderate: ImageMagick security update

Source: SECUNIA
Type: UNKNOWN
29786

Source: SECUNIA
Type: UNKNOWN
29857

Source: SECUNIA
Type: UNKNOWN
30967

Source: SECUNIA
Type: UNKNOWN
36260

Source: SECUNIA
Type: UNKNOWN
55721

Source: GENTOO
Type: UNKNOWN
GLSA-201311-10

Source: CCN
Type: SECTRACK ID: 1019881
ImageMagick Heap Overflow in Processing PCX Files Lets Remote Users Execute Arbitrary Code

Source: CCN
Type: ASA-2008-167
ImageMagick security update (RHSA-2008-0165)

Source: CCN
Type: ASA-2008-168
ImageMagick security update (RHSA-2008-0145)

Source: DEBIAN
Type: UNKNOWN
DSA-1858

Source: DEBIAN
Type: DSA-1858
imagemagick -- multiple vulnerabilities

Source: CCN
Type: GraphicsMagick Web site
GraphicsMagick Image Processing System

Source: CCN
Type: ImageMagick Web site
Introduction to ImageMagick

Source: MANDRIVA
Type: UNKNOWN
MDVSA-2008:099

Source: CCN
Type: OSVDB ID: 43213
ImageMagick / GraphicsMagick coders/pcx.c PCX Coder ReadPCXImage Function PCX File Handling Overflow

Source: REDHAT
Type: UNKNOWN
RHSA-2008:0145

Source: REDHAT
Type: UNKNOWN
RHSA-2008:0165

Source: BID
Type: UNKNOWN
28822

Source: CCN
Type: BID-28822
ImageMagick Malformed PCX File Heap Overflow Vulnerability

Source: SECTRACK
Type: UNKNOWN
1019881

Source: CCN
Type: Red Hat Bugzilla Bug 285861
Memory corruption in ImageMagick's PCX coder

Source: MISC
Type: Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=285861

Source: XF
Type: UNKNOWN
imagemagick-readpcximage-bo(41193)

Source: XF
Type: UNKNOWN
imagemagick-readpcximage-bo(41193)

Source: OVAL
Type: UNKNOWN
oval:org.mitre.oval:def:11237

Source: SUSE
Type: SUSE-SR:2008:014
[security-announce] SUSE Security Summary Report SUSE-SR:2008:014

Vulnerable Configuration:Configuration 1:
  • cpe:/a:imagemagick:graphicsmagick:1.1.7:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:graphicsmagick:1.1.8:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:graphicsmagick:1.1.9:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:graphicsmagick:1.1.10:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:graphicsmagick:1.1.11:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:graphicsmagick:1.1.12:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:imagemagick:6.2.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:imagemagick:6.2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:imagemagick:6.2.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:imagemagick:imagemagick:6.2.8.3:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:4:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:4::as:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:4::desktop:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:4::es:*:*:*:*:*

  • Configuration RedHat 5:
  • cpe:/o:redhat:enterprise_linux:4::ws:*:*:*:*:*

  • Configuration RedHat 6:
  • cpe:/o:redhat:enterprise_linux:5:*:*:*:*:*:*:*

  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:5::client:*:*:*:*:*

  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:5::client_workstation:*:*:*:*:*

  • Configuration RedHat 9:
  • cpe:/o:redhat:enterprise_linux:5::server:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:graphicsmagick:graphicsmagick:1.1.7:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:enterprise_linux:2.1:*:as:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:es:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:ws:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::ws:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::es:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::as:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:3::desktop:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:3.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4::as:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4::desktop:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4::es:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4::ws:*:*:*:*:*
  • OR cpe:/o:redhat:linux_advanced_workstation:2.1::itanium:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:4.0::x86_64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux_corporate_server:3.0::x86_64:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:5:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:5:*:client_workstation:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2007.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.0::x86-64:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:5:*:client:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2008.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:2007.1::x86-64:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4.6.z:ga:as:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:4.6.z:ga:es:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:5.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20081097
    V
    CVE-2008-1097
    2022-06-30
    oval:org.opensuse.security:def:111889
    P
    GraphicsMagick-1.3.36-1.7 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105468
    P
    GraphicsMagick-1.3.36-1.7 on GA media (Moderate)
    2021-10-01
    oval:org.opensuse.security:def:36358
    P
    GraphicsMagick-1.2.5-4.33.1 on GA media (Moderate)
    2021-06-08
    oval:org.opensuse.security:def:26192
    P
    Security update for php72 (Important)
    2021-02-17
    oval:org.opensuse.security:def:26111
    P
    Security update for cups (Moderate)
    2021-02-02
    oval:org.opensuse.security:def:25983
    P
    Security update for openexr (Moderate)
    2020-12-23
    oval:org.opensuse.security:def:27321
    P
    wpa_supplicant on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26333
    P
    Security update for redis (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25907
    P
    Security update for the Linux Kernel (Important)
    2020-12-01
    oval:org.opensuse.security:def:26625
    P
    pam_ldap on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:27356
    P
    GraphicsMagick on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26484
    P
    Security update for chromium (Important)
    2020-12-01
    oval:org.opensuse.security:def:25908
    P
    Security update for flash-player (Important)
    2020-12-01
    oval:org.opensuse.security:def:26639
    P
    star on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26537
    P
    dhcp on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:25919
    P
    Security update for libplist (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26683
    P
    dbus-1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26249
    P
    Security update for libtomcrypt (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:26586
    P
    libexiv2-4 on GA media (Moderate)
    2020-12-01
    oval:org.mitre.oval:def:13308
    P
    DSA-1858-1 imagemagick -- multiple
    2015-02-23
    oval:org.mitre.oval:def:8206
    P
    DSA-1858 imagemagick -- multiple vulnerabilities
    2015-02-23
    oval:org.mitre.oval:def:22407
    P
    ELSA-2008:0145: ImageMagick security update (Moderate)
    2014-05-26
    oval:org.mitre.oval:def:11237
    V
    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.
    2013-04-29
    oval:org.debian:def:1858
    V
    multiple vulnerabilities
    2009-08-10
    oval:com.redhat.rhsa:def:20080145
    P
    RHSA-2008:0145: ImageMagick security update (Moderate)
    2008-04-17
    BACK
    imagemagick graphicsmagick 1.1.7
    imagemagick graphicsmagick 1.1.8
    imagemagick graphicsmagick 1.1.9
    imagemagick graphicsmagick 1.1.10
    imagemagick graphicsmagick 1.1.11
    imagemagick graphicsmagick 1.1.12
    imagemagick imagemagick 6.2.8.0
    imagemagick imagemagick 6.2.8.1
    imagemagick imagemagick 6.2.8.2
    imagemagick imagemagick 6.2.8.3
    graphicsmagick graphicsmagick 1.1.7
    redhat enterprise linux 2.1
    redhat enterprise linux 2.1
    redhat enterprise linux 2.1
    redhat enterprise linux 3
    redhat enterprise linux 3
    redhat enterprise linux 3
    redhat enterprise linux 3
    mandrakesoft mandrake linux corporate server 3.0
    redhat enterprise linux 4
    redhat enterprise linux 4
    redhat enterprise linux 4
    redhat enterprise linux 4
    redhat linux advanced workstation 2.1
    mandrakesoft mandrake linux corporate server 4.0
    mandrakesoft mandrake linux corporate server 4.0
    mandrakesoft mandrake linux corporate server 3.0
    redhat enterprise linux 5
    redhat enterprise linux 5
    mandrakesoft mandrake linux 2007.1
    mandrakesoft mandrake linux 2008.0
    debian debian linux 4.0
    redhat enterprise linux 5
    mandrakesoft mandrake linux 2008.0
    mandrakesoft mandrake linux 2007.1
    redhat enterprise linux 4.6.z ga
    redhat enterprise linux 4.6.z ga
    debian debian linux 5.0