
CVE catalog
CVE-2007-4985
imagemagick: CVE-2007-4985
- Severity
- High
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.81% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | imagemagick | sid | 8:7.1.2.34+dfsg1-1 | fixed |
| Debian | imagemagick | forky | 8:7.1.2.31+dfsg1-1 | fixed |
| Debian | imagemagick | trixie | 8:7.1.1.43+dfsg1-1+deb13u12 | fixed |
| Debian | imagemagick | trixie-security | 8:7.1.1.43+dfsg1-1+deb13u11 | fixed |
| Debian | imagemagick | bookworm | 8:6.9.11.60+dfsg-1.6+deb12u11 | fixed |
| Debian | imagemagick | bookworm-security | 8:6.9.11.60+dfsg-1.6+deb12u14 | fixed |
| Debian | graphicsmagick | sid | 1.4+really1.3.49-1 | fixed |
| Debian | graphicsmagick | forky | 1.4+really1.3.49-1 | fixed |
| Debian | graphicsmagick | trixie | 1.4+really1.3.45+hg17696-1 | fixed |
| Debian | graphicsmagick | bookworm | 1.4+really1.3.40-4+deb12u1 | fixed |
| Debian | graphicsmagick | bookworm-security | 1.4+really1.3.40-4+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | imagemagick | source | sid | 7:6.2.4.5.dfsg1-2 | medium | Not reported | [444267] |
| Debian | imagemagick | source | forky | 7:6.2.4.5.dfsg1-2 | medium | Not reported | [444267] |
| Debian | imagemagick | source | trixie | 7:6.2.4.5.dfsg1-2 | medium | Not reported | [444267] |
| Debian | imagemagick | source | bookworm | 7:6.2.4.5.dfsg1-2 | medium | Not reported | [444267] |
| Debian | graphicsmagick | source | sid | 1.1.11-1 | medium | Not reported | [444266] |
| Debian | graphicsmagick | source | forky | 1.1.11-1 | medium | Not reported | [444266] |
| Debian | graphicsmagick | source | trixie | 1.1.11-1 | medium | Not reported | [444266] |
| Debian | graphicsmagick | source | bookworm | 1.1.11-1 | medium | Not reported | [444266] |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [graphicsmagick]Unknown
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-dbg]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-imagemagick-compat]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [graphicsmagick-libmagick-dev-compat]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· all · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [imagemagick]Unknown
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-6.q16hdri]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-common]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [imagemagick-doc]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libgraphicsmagick++1-dev]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick1-dev]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphics-magick-perl]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick++-q16-12]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libgraphicsmagick-q16-3]Unknown
Source package: [graphicsmagick]
Details (4)
1.4+really1.3.40-4+deb12u1· amd64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookwormFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
1.4+really1.3.40-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.1.11-1dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12
- [libimage-magick-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16hdri-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libimage-magick-q16-perl]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· amd64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· arm64 · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· amd64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· arm64 · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
- [libmagick++-6-headers]Unknown
Source package: [imagemagick]
Details (4)
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u11· all · bookwormFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
8:6.9.11.60+dfsg-1.6+deb12u13· all · bookworm-securityFixed · Fixed:
7:6.2.4.5.dfsg1-2dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12
Observed:
References
- [https://access.redhat.com/errata/RHSA-2008:0145]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10596-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2007-4985]
- [https://osv.dev/vulnerability/DTSA-63-1]
- [https://security-tracker.debian.org/tracker/CVE-2007-4985]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]