CVE catalog

CVE-2020-27756

imagemagick: CVE-2020-27756

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.84% · Oct 25, 2026

In ParseMetaGeometry() of MagickCore/geometry.c, image height and width calculations can lead to divide-by-zero conditions which also lead to undefined behavior. This flaw can be triggered by a crafted input file processed by ImageMagick and could impact application availability. The patch uses multiplication in addition to the function `PerceptibleReciprocal()` in order to prevent such divide-by-zero conditions. This flaw affects ImageMagick versions prior to 7.0.9-0.

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
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu3vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu8vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu9vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu10vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu11vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu11.1vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu11.2vulnerable
Ubuntuimagemagick20.048:6.9.10.23+dfsg-2.1ubuntu11.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianimagemagicksourcesid8:6.9.11.24+dfsg-1not yet assignedNot reportedNot reported
Debianimagemagicksourceforky8:6.9.11.24+dfsg-1not yet assignedNot reportedNot reported
Debianimagemagicksourcetrixie8:6.9.11.24+dfsg-1not yet assignedNot reportedNot reported
Debianimagemagicksourcebookworm8:6.9.11.24+dfsg-1not yet assignedNot reportedNot reported
Ubuntuimagemagickdeb20.048:6.9.10.23+dfsg-2.1ubuntu11.4Not reportedUBUNTU-CVE-2020-27756Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

      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: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

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

      Fixed · Fixed: 8:6.9.11.24+dfsg-1

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

Next results

Observed:

References