SecurityContext

CVE-2008-1097: ImageMagick & GraphicsMagick - Buffer Overflow

  • Cve: CVE-2008-1097
  • Name: ImageMagick & GraphicsMagick - Buffer Overflow
  • 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.
  • Impact: Attackers can cause denial of service or execute arbitrary code by exploiting the buffer overflow.
  • Remediation: Update to the latest versions of ImageMagick and GraphicsMagick that fix this vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to open malicious .pcx files
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.04484
  • Epss percentile: 0.91703
  • Assignee: [email protected]
  • Published at: 2008-03-05T20:44:00Z
  • Age in days: 6838
  • Modified at: 2026-06-16T22:50:59Z
  • Public exploits total: 1
  • References total: 18
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-1097
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-399—

Public exploits

UrlSourceAdded date
https://bugzilla.redhat.com/show_bug.cgi?id=285861nvd2008-03-05

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=285861Exploit
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413034
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
http://osvdb.org/43213
http://secunia.com/advisories/29786
http://secunia.com/advisories/29857
http://secunia.com/advisories/30967
http://secunia.com/advisories/36260
http://secunia.com/advisories/55721
http://security.gentoo.org/glsa/glsa-201311-10.xml

Products

ProductAffectedPlatform boundSourcesUrl
imagemagick:imagemagick= 6.2.8.3, = 6.2.8.2, = 6.2.8.1, = 6.2.8.0nonvd/v1/products/imagemagick/imagemagick
imagemagick:graphicsmagick= 1.1.12, = 1.1.11, = 1.1.10, = 1.1.9, = 1.1.8, = 1.1.7nonvd/v1/products/imagemagick/graphicsmagick

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2008-03-05
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts