Infinite loops in ImageMagick's XCF and DCM coders
Published Sep 24, 2007
4.3
MEDIUMCVSS 2.0
EPSS 1.81%
Description
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.
Affected products
No data.
- 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
No data.
Red Hat Enterprise Linux 2.1
ImageMagick-0:5.3.8-21
Fixed · RHSA-2008:0165
Red Hat Enterprise Linux 3
ImageMagick-0:5.5.6-28
Fixed · RHSA-2008:0145
Red Hat Enterprise Linux 4
ImageMagick-0:6.0.7.1-17.el4_6.1
Fixed · RHSA-2008:0145
Red Hat Enterprise Linux 5
ImageMagick-0:6.2.8.0-4.el5_1.1
Fixed · RHSA-2008:0145
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 2.1 | ImageMagick-0:5.3.8-21 | Fixed | RHSA-2008:0165 |
| Red Hat Enterprise Linux 3 | ImageMagick-0:5.5.6-28 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux 4 | ImageMagick-0:6.0.7.1-17.el4_6.1 | Fixed | RHSA-2008:0145 |
| Red Hat Enterprise Linux 5 | ImageMagick-0:6.2.8.0-4.el5_1.1 | Fixed | RHSA-2008:0145 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.81% (0.01814) | 77.88th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.81% (0.01814) | 75.79th | v5 (v2026.06.15) |
| Mar 30, 2025 | 2.33% (0.02334) | 83.41th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.42% (0.03418) | 78.90th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.33% (0.02334) | 83.73th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.14% (0.02137) | 88.92th | v3 (v2023.03.01) |
| Sep 4, 2024 | 5.05% (0.05048) | 93.05th | v3 (v2023.03.01) |
| Jul 28, 2024 | 3.87% (0.03872) | 92.03th | v3 (v2023.03.01) |
| Jun 20, 2024 | 2.23% (0.02233) | 89.59th | v3 (v2023.03.01) |
| May 13, 2024 | 1.90% (0.01902) | 88.47th | v3 (v2023.03.01) |
| Feb 26, 2024 | 1.36% (0.01356) | 85.81th | v3 (v2023.03.01) |
| Sep 30, 2023 | 1.30% (0.01296) | 84.26th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.94% (0.00940) | 80.69th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (31)
- http://bugs.gentoo.org/show_bug.cgi?id=186030 x_refsource_CONFIRM
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=596 third-party-advisoryx_refsource_IDEFENSE
- http://secunia.com/advisories/26926 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27048 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27309 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27364 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27439 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28721 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/29786 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/29857 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/36260 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200710-27.xml vendor-advisoryx_refsource_GENTOO
- http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html mailing-listx_refsource_MLIST
- http://www.debian.org/security/2009/dsa-1858 vendor-advisoryx_refsource_DEBIAN
- http://www.imagemagick.org/script/changelog.php x_refsource_CONFIRM
- http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035 vendor-advisoryx_refsource_MANDRIVA
- http://www.novell.com/linux/security/advisories/2007_23_sr.html vendor-advisoryx_refsource_SUSE
- http://www.redhat.com/support/errata/RHSA-2008-0145.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2008-0165.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/archive/1/483572/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/25764 vdb-entryx_refsource_BIDPatch
- http://www.securitytracker.com/id?1018729 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/usn-523-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/3245 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-4985 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=310091 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36740 vdb-entryx_refsource_XF
- https://issues.rpath.com/browse/RPL-1743 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2007-4985
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10869 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2007-4985
Change history (0)
No recorded changes yet.