SecurityContext

CVE-2007-4986: ImageMagick - Integer Overflow

  • Cve: CVE-2007-4986
  • Name: ImageMagick - Integer Overflow
  • Description: Multiple integer overflows in ImageMagick before 6.3.5-9 allow context-dependent attackers to execute arbitrary code via a crafted (1) .dcm, (2) .dib, (3) .xbm, (4) .xcf, or (5) .xwd image file, which triggers a heap-based buffer overflow.
  • Impact: Attackers can execute arbitrary code remotely by exploiting crafted image files, potentially leading to full system compromise.
  • Remediation: Update to the latest version of ImageMagick, at least 6.3.5-9 or newer.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • 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.03286
  • Epss percentile: 0.88786
  • Assignee: [email protected]
  • Published at: 2007-09-24T22:17:00Z
  • Age in days: 7001
  • Modified at: 2026-06-16T22:45:13Z
  • Patch available: yes
  • References total: 28
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-4986
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-189—

References

Same in every row:

  • Source: nvd
UrlTags
http://www.securityfocus.com/bid/25763Patch
http://bugs.gentoo.org/show_bug.cgi?id=186030
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=594
http://secunia.com/advisories/26926
http://secunia.com/advisories/27048
http://secunia.com/advisories/27309
http://secunia.com/advisories/27364
http://secunia.com/advisories/27439
http://secunia.com/advisories/28721
http://secunia.com/advisories/29786

Products

ProductAffectedPlatform boundSourcesUrl
imagemagick:imagemagick= 5.5.6.0_20030409, = 6.3.4, = 6.3.3_3, = 6.3.3_5, = 6.3.3_6, = 6.3.2, = 6.3.1, = 6.2.9.2, = 6.2.9, = 6.2.8, = 6.2.7, = 6.2.6, = 6.2.5, = 6.2.4.5, = 6.2.4.3, = 6.2.4, = 6.2.3.4, = 6.2.3, = 6.2.2, = 6.2.1, = 6.2.0.7, = 6.2.0.3, = 6.2, = 6.1.8, = 6.1.7, = 6.1.6, = 6.1.5, = 6.1.4, = 6.1.3, = 6.1.2, = 6.1.1, = 6.1, = 6.0.8, = 6.0.7, = 6.0.6.2, = 6.0.6, = 6.0.5, = 6.0.4.4, = 6.0.4, = 6.0.3, = 6.0.2.5, = 6.0.2, = 6.0.1, = 6.0, = 5.5.7.15, = 5.5.7, = 5.5.6, = 5.5.4, = 5.5.3_.2_1.2.0, = 5.4.8.2_1.1.0, = 5.4.8, = 5.4.7, = 5.4.4.5, = 5.4.3, = 5.4.2.3, = 5.3.8, = 5.3.3nonvd/v1/products/imagemagick/imagemagick

Index

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

Exploitation

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