p PatchFirst

CVE-2020-27754

CVE-2020-27754

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

In IntensityCompare() of /magick/quantize.c, there are calls to PixelPacketIntensity() which could return overflowed values to the caller when ImageMagick processes a crafted input file. To mitigate this, the patch introduces and uses the ConstrainPixelIntensity() function, which forces the pixel intensities to be within the proper bounds in the event of an overflow. This flaw affects ImageMagick versions prior to 6.9.10-69 and 7.0.8-69.

CVSS 3.3 · Low · EPSS 1.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • imagemagick

    Versions
    • prior to 6.9.10-69: Affected
    • prior to 7.0.8-69: 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:Pro:16.04:LTS

    Versions
    • 8:6.8.9.9-5ubuntu2
    • 8:6.8.9.9-6
    • 8:6.8.9.9-6build1
    • 8:6.8.9.9-7
    • 8:6.8.9.9-7ubuntu1
    • 8:6.8.9.9-7ubuntu2
    • 8:6.8.9.9-7ubuntu3
    • 8:6.8.9.9-7ubuntu4
    • 8:6.8.9.9-7ubuntu5
    • 8:6.8.9.9-7ubuntu5.1
    • 8:6.8.9.9-7ubuntu5.2
    • 8:6.8.9.9-7ubuntu5.3
    • 8:6.8.9.9-7ubuntu5.4
    • 8:6.8.9.9-7ubuntu5.5
    • 8:6.8.9.9-7ubuntu5.6
    • 8:6.8.9.9-7ubuntu5.7
    • 8:6.8.9.9-7ubuntu5.8
    • 8:6.8.9.9-7ubuntu5.9
    • 8:6.8.9.9-7ubuntu5.11
    • 8:6.8.9.9-7ubuntu5.12
    • 8:6.8.9.9-7ubuntu5.13
    • 8:6.8.9.9-7ubuntu5.14
    • 8:6.8.9.9-7ubuntu5.15
    • 8:6.8.9.9-7ubuntu5.16
    • 8:6.8.9.9-7ubuntu5.16+esm1
    • 8:6.8.9.9-7ubuntu5.16+esm2
    • 8:6.8.9.9-7ubuntu5.16+esm3
    • 8:6.8.9.9-7ubuntu5.16+esm4
    • 8:6.8.9.9-7ubuntu5.16+esm5
    • 8:6.8.9.9-7ubuntu5.16+esm6
    • 8:6.8.9.9-7ubuntu5.16+esm7
    • 8:6.8.9.9-7ubuntu5.16+esm8
    • 8:6.8.9.9-7ubuntu5.16+esm9
    • 8:6.8.9.9-7ubuntu5.16+esm10
    Affected ranges
    • ECOSYSTEM: < 8:6.8.9.9-7ubuntu5.16+esm11

    Update to 8:6.8.9.9-7ubuntu5.16+esm11

  • imagemagick Ubuntu:18.04:LTS

    Versions
    • 8:6.9.7.4+dfsg-16ubuntu2
    • 8:6.9.7.4+dfsg-16ubuntu3
    • 8:6.9.7.4+dfsg-16ubuntu4
    • 8:6.9.7.4+dfsg-16ubuntu5
    • 8:6.9.7.4+dfsg-16ubuntu6
    • 8:6.9.7.4+dfsg-16ubuntu6.2
    • 8:6.9.7.4+dfsg-16ubuntu6.3
    • 8:6.9.7.4+dfsg-16ubuntu6.4
    • 8:6.9.7.4+dfsg-16ubuntu6.7
    • 8:6.9.7.4+dfsg-16ubuntu6.8
    • 8:6.9.7.4+dfsg-16ubuntu6.9
    Affected ranges
    • ECOSYSTEM: < 8:6.9.7.4+dfsg-16ubuntu6.11

    Update to 8:6.9.7.4+dfsg-16ubuntu6.11

  • 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 →