CVE catalog

CVE-2007-4986

imagemagick: CVE-2007-4986

[CVE catalog]

Severity
High
Published
Source
[NVD] · [CVE record]
EPSS
3.29% · Oct 25, 2026

Multiple integer overflows in ImageMagick before 6.3.5-9 allow context-dependent attackers to execute arbitrary code via a crafted (1) .dcm, (2) .dib, (3) .xbm, (4) .xcf, or (5) .xwd image file, which triggers a heap-based buffer overflow.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianimagemagicksid8:7.1.2.34+dfsg1-1fixed
Debianimagemagickforky8:7.1.2.31+dfsg1-1fixed
Debianimagemagicktrixie8:7.1.1.43+dfsg1-1+deb13u12fixed
Debianimagemagicktrixie-security8:7.1.1.43+dfsg1-1+deb13u11fixed
Debianimagemagickbookworm8:6.9.11.60+dfsg-1.6+deb12u11fixed
Debianimagemagickbookworm-security8:6.9.11.60+dfsg-1.6+deb12u14fixed
Debiangraphicsmagicksid1.4+really1.3.49-1fixed
Debiangraphicsmagickforky1.4+really1.3.49-1fixed
Debiangraphicsmagicktrixie1.4+really1.3.45+hg17696-1fixed
Debiangraphicsmagickbookworm1.4+really1.3.40-4+deb12u1fixed
Debiangraphicsmagickbookworm-security1.4+really1.3.40-4+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianimagemagicksourcesid7:6.2.4.5.dfsg1-2mediumNot reported[444267]
Debianimagemagicksourceforky7:6.2.4.5.dfsg1-2mediumNot reported[444267]
Debianimagemagicksourcetrixie7:6.2.4.5.dfsg1-2mediumNot reported[444267]
Debianimagemagicksourcebookworm7:6.2.4.5.dfsg1-2mediumNot reported[444267]
Debiangraphicsmagicksourcesid1.1.11-1mediumNot reported[444266]
Debiangraphicsmagicksourceforky1.1.11-1mediumNot reported[444266]
Debiangraphicsmagicksourcetrixie1.1.11-1mediumNot reported[444266]
Debiangraphicsmagicksourcebookworm1.1.11-1mediumNot reported[444266]

[Debian bug #444267][Debian bug #444266]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • [imagemagick]Unknown
    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · amd64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · arm64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · amd64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · arm64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · amd64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · arm64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [graphicsmagick]

    Details (4)
    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

    • 1.4+really1.3.40-4+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.1.11-1

      dsa · graphicsmagick · debian · bookworm; dsa · graphicsmagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · amd64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · arm64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · amd64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · arm64 · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · amd64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · arm64 · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

  • Source package: [imagemagick]

    Details (4)
    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u11 · all · bookworm

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

    • 8:6.9.11.60+dfsg-1.6+deb12u13 · all · bookworm-security

      Fixed · Fixed: 7:6.2.4.5.dfsg1-2

      dsa · imagemagick · debian · bookworm; dsa · imagemagick · debian · 12

Next results

Observed:

References