# CVE-2007-1797

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2007-04-02 · Modified: 2024-08-07
- Aliases: DEBIAN-CVE-2007-1797
- Record: https://cvemate.com/vulnerability/CVE-2007-1797 · JSON: https://cvemate.com/vulnerability/CVE-2007-1797/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:P/A:P
- EPSS: 3.556%, percentile 89.68%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian graphicsmagick (Debian): \< 1.1.7-15
- debian imagemagick (Debian): \< 7:6.2.4.5.dfsg1-1
- imagemagick imagemagick: 6.3.0.0 \| 6.3.0.1 \| 6.3.0.2 \| 6.3.0.3 \| 6.3.0.4 \| 6.3.0.5 \| 6.3.0.7 \| 6.3.0.8 \| 6.3.1.0 \| 6.3.1.1 \| 6.3.1.2. \| 6.3.1.3 \| 6.3.1.4 \| 6.3.1.5 \| 6.3.1.6 \| 6.3.1.7 \| 6.3.2.0 \| 6.3.2.1 \| 6.3.2.2 \| 6.3.2.3 \| 6.3.2.4 \| 6.3.2.5 \| 6.3.2.6 \| 6.3.2.7 \| 6.3.2.8 \| 6.3.3.0 \| 6.3.3.1 \| 6.3.3.2 \| 6.3.3.3 \| 6.3.3.4

## References (first 20 of 28)

- <http://www.securityfocus.com/bid/23347>
- <http://secunia.com/advisories/29857>
- <http://security.gentoo.org/glsa/glsa-200705-13.xml>
- <http://www.redhat.com/support/errata/RHSA-2008-0145.html>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9254>
- <http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=496>
- <https://issues.foresightlinux.org/browse/FL-222>
- <http://secunia.com/advisories/24739>
- <http://secunia.com/advisories/29786>
- <http://www.securitytracker.com/id?1017839>
- <https://issues.rpath.com/browse/RPL-1205>
- <http://www.ubuntu.com/usn/usn-481-1>
- <http://www.securityfocus.com/bid/23252>
- <http://secunia.com/advisories/25992>
- <http://secunia.com/advisories/26177>
- <http://www.redhat.com/support/errata/RHSA-2008-0165.html>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/33377>
- <http://www.vupen.com/english/advisories/2007/1200>
- <http://www.novell.com/linux/security/advisories/2007_8_sr.html>
- <http://www.debian.org/security/2009/dsa-1858>

---

Data as of 2026-12-05T04:49:52.398Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
