p PatchFirst

CVE-2020-27756

CVE-2020-27756

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • imagemagick

    Versions
    • prior to 7.0.9-0: Affected

    No fix published

  • imagemagick Debian:12

    Affected ranges
    • ECOSYSTEM: < 8:6.9.11.24+dfsg-1

    Update to 8:6.9.11.24+dfsg-1

  • imagemagick Debian:13

    Affected ranges
    • ECOSYSTEM: < 8:6.9.11.24+dfsg-1

    Update to 8:6.9.11.24+dfsg-1

  • imagemagick Debian:14

    Affected ranges
    • ECOSYSTEM: < 8:6.9.11.24+dfsg-1

    Update to 8:6.9.11.24+dfsg-1

  • imagemagick Ubuntu:20.04:LTS

    Versions
    • 8:6.9.10.23+dfsg-2.1ubuntu3
    • 8:6.9.10.23+dfsg-2.1ubuntu8
    • 8:6.9.10.23+dfsg-2.1ubuntu9
    • 8:6.9.10.23+dfsg-2.1ubuntu10
    • 8:6.9.10.23+dfsg-2.1ubuntu11
    • 8:6.9.10.23+dfsg-2.1ubuntu11.1
    • 8:6.9.10.23+dfsg-2.1ubuntu11.2
    Affected ranges
    • ECOSYSTEM: < 8:6.9.10.23+dfsg-2.1ubuntu11.4

    Update to 8:6.9.10.23+dfsg-2.1ubuntu11.4

Original sources

Check your server →