the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2008-1097

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.
Publish Date : 2008-03-05 Last Update Date : 2017-09-29
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Denial Of ServiceExecute CodeOverflowMemory corruption
CWE ID 399

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2007-09-11 2007-03-11
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2008-1097 unix
DSA-1858 imagemagick -- multiple vulnerabilities oval:org.mitre.oval:def:8206 unix
DSA-1858-1 imagemagick -- multiple oval:org.mitre.oval:def:13308 unix
ELSA-2008:0145: ImageMagick security update (Moderate) oval:org.mitre.oval:def:22407 unix
Heap-based buffer overflow in the ReadPCXImage function in the PCX coder in coders/pcx.c in (1) ImageMagick 6.2.4-5 and ... oval:org.mitre.oval:def:11237 unix
RHSA-2008:0145: ImageMagick security update (Moderate) oval:com.redhat.rhsa:def:20080145 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2008-1097

# Product Type Vendor Product Version Update Edition Language
1 Application Imagemagick Graphicsmagick 1.1.7 * * * Version Details Vulnerabilities
2 Application Imagemagick Graphicsmagick 1.1.8 * * * Version Details Vulnerabilities
3 Application Imagemagick Graphicsmagick 1.1.9 * * * Version Details Vulnerabilities
4 Application Imagemagick Graphicsmagick 1.1.10 * * * Version Details Vulnerabilities
5 Application Imagemagick Graphicsmagick 1.1.11 * * * Version Details Vulnerabilities
6 Application Imagemagick Graphicsmagick 1.1.12 * * * Version Details Vulnerabilities
7 Application Imagemagick Imagemagick * * * Version Details Vulnerabilities
8 Application Imagemagick Imagemagick * * * Version Details Vulnerabilities
9 Application Imagemagick Imagemagick * * * Version Details Vulnerabilities
10 Application Imagemagick Imagemagick * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Imagemagick Graphicsmagick 6
Imagemagick Imagemagick 4

- References For CVE-2008-1097
OSVDB 43213
SUSE SUSE-SR:2008:014
BID 28822 ImageMagick Malformed PCX File Heap Overflow Vulnerability Release Date:2013-11-19
SECTRACK 1019881
REDHAT RHSA-2008:0165
GENTOO GLSA-201311-10
XF imagemagick-readpcximage-bo(41193)
OVAL oval:org.mitre.oval:def:11237

- Metasploit Modules Related To CVE-2008-1097

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.