# CVE-2007-4985

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

## Description

```text
ImageMagick before 6.3.5-9 allows context-dependent attackers to cause a denial of service via a crafted image file that triggers (1) an infinite loop in the ReadDCMImage function, related to ReadBlobByte function calls; or (2) an infinite loop in the ReadXCFImage function, related to ReadBlobMSBLong function calls.
```

## Signals

- CVSS: 4.3 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:N/I:N/A:P
- EPSS: 1.814%, percentile 79.423%, 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.11-1
- debian imagemagick (Debian): \< 7:6.2.4.5.dfsg1-2
- imagemagick imagemagick: 5.3.3 \| 5.3.8 \| 5.4.2.3 \| 5.4.3 \| 5.4.4.5 \| 5.4.7 \| 5.4.8 \| 5.4.8.2\_1.1.0 \| 5.5.3\_.2\_1.2.0 \| 5.5.4 \| 5.5.6 \| 5.5.6.0\_20030409 \| 5.5.7 \| 5.5.7.15 \| 6.0 \| 6.0.1 \| 6.0.2 \| 6.0.2.5 \| 6.0.3 \| 6.0.4 \| 6.0.4.4 \| 6.0.5 \| 6.0.6 \| 6.0.6.2 \| 6.0.7 \| 6.0.8 \| 6.1 \| 6.1.1 \| 6.1.2 \| 6.1.3 \| 6.1.4 \| 6.1.5 \| 6.1.6 \| 6.1.7 \| 6.1.8 \| 6.2 \| 6.2.0.3 \| 6.2.0.7 \| 6.2.1 \| 6.2.2 \| 6.2.3 \| 6.2.3.4 \| 6.2.4 \| 6.2.4.3 \| 6.2.4.5 \| 6.2.5 \| 6.2.6 \| 6.2.7 \| 6.2.8 \| 6.2.9 \| 6.2.9.2 \| 6.3.1 \| 6.3.2 \| 6.3.3\_3 \| 6.3.3\_5 \| 6.3.3\_6 \| 6.3.4

## References (first 20 of 28)

- <http://secunia.com/advisories/27364>
- <http://secunia.com/advisories/29857>
- <http://www.redhat.com/support/errata/RHSA-2008-0145.html>
- <http://www.securityfocus.com/archive/1/483572/100/0/threaded>
- <http://www.ubuntu.com/usn/usn-523-1>
- <http://secunia.com/advisories/27309>
- <http://secunia.com/advisories/29786>
- <http://www.imagemagick.org/script/changelog.php>
- <http://www.vupen.com/english/advisories/2007/3245>
- <http://security.gentoo.org/glsa/glsa-200710-27.xml>
- <http://www.securitytracker.com/id?1018729>
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10869>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/36740>
- <http://secunia.com/advisories/27048>
- <http://www.redhat.com/support/errata/RHSA-2008-0165.html>
- <http://secunia.com/advisories/28721>
- <http://secunia.com/advisories/27439>
- <https://issues.rpath.com/browse/RPL-1743>
- <http://www.debian.org/security/2009/dsa-1858>
- <http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html>

---

Data as of 2026-12-05T04:49:46.927Z. 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
