Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2007-1797

Heap overflow in ImageMagick's DCM and XWD coders

Overview

Published
2 Apr 2007
Modified
23 Apr 2026
Medium CVE
0 Registry packages
25 OS packages
4 Linux distributions
Yes Fix available

Description

Multiple integer overflows in ImageMagick before 6.3.3-5 allow remote attackers to execute arbitrary code via (1) a crafted DCM image, which results in a heap-based overflow in the ReadDCMImage function, or (2) the (a) colors or (b) comments field in a crafted XWD image, which results in a heap-based overflow in the ReadXWDImage function, different issues than CVE-2007-1667.

Source: OX vulnerability database

Severity

6.8 · MEDIUM

CVSS 2.0 base score, scored by NVD.

Access vector
Network
Access complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

Weakness: CWE-189

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 15 fixes

debian 4 releases · 2 packages

fixed 8
graphicsmagick imagemagick
debian fixes for CVE-2007-1797
ReleasePackageFixed in
11 graphicsmagick 1.1.7-15
11 imagemagick 7:6.2.4.5.dfsg1-1
12 graphicsmagick 1.1.7-15
12 imagemagick 7:6.2.4.5.dfsg1-1
13 graphicsmagick 1.1.7-15
13 imagemagick 7:6.2.4.5.dfsg1-1

2 more rows

echo 1 release · 2 packages

fixed 2
graphicsmagick imagemagick
echo fixes for CVE-2007-1797
ReleasePackageFixed in
graphicsmagick 1.1.7-15
imagemagick 7:6.2.4.5.dfsg1-1

openSUSE 1 release · 2 packages

fixed 2
graphicsmagick imagemagick
openSUSE fixes for CVE-2007-1797
ReleasePackageFixed inAdvisory
Tumbleweed graphicsmagick +7 1.3.36-1.7 openSUSE-SU-2024:10596-1
Tumbleweed imagemagick +15 7.1.0.8-1.2 openSUSE-SU-2024:10597-1

root.io debian 3 releases · 1 package

fixed 3
rootio-imagemagick
root.io debian fixes for CVE-2007-1797
ReleasePackageFixed in
11 rootio-imagemagick 7:6.2.4.5.dfsg1-1
12 rootio-imagemagick 7:6.2.4.5.dfsg1-1
13 rootio-imagemagick 7:6.2.4.5.dfsg1-1

References

Show all 32 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.