p PatchFirst

CVE-2020-25675

CVE-2020-25675

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

In the CropImage() and CropImageToTiles() routines of MagickCore/transform.c, rounding calculations performed on unconstrained pixel offsets was causing undefined behavior in the form of integer overflow and out-of-range values as reported by UndefinedBehaviorSanitizer. Such issues could cause a negative impact to application availability or other problems related to undefined behavior, in cases where ImageMagick processes untrusted input data. The upstream patch introduces functionality to constrain the pixel offsets and prevent these issues. This flaw affects ImageMagick versions prior to 7.0.9-0.

CVSS 3.3 · Low · EPSS 1.1% · 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:Pro:14.04:LTS

    Versions
    • 8:6.7.7.10-5ubuntu3
    • 8:6.7.7.10-5ubuntu4
    • 8:6.7.7.10-6ubuntu1
    • 8:6.7.7.10-6ubuntu2
    • 8:6.7.7.10-6ubuntu3
    • 8:6.7.7.10-6ubuntu3.1
    • 8:6.7.7.10-6ubuntu3.2
    • 8:6.7.7.10-6ubuntu3.3
    • 8:6.7.7.10-6ubuntu3.4
    • 8:6.7.7.10-6ubuntu3.5
    • 8:6.7.7.10-6ubuntu3.6
    • 8:6.7.7.10-6ubuntu3.7
    • 8:6.7.7.10-6ubuntu3.8
    • 8:6.7.7.10-6ubuntu3.9
    • 8:6.7.7.10-6ubuntu3.11
    • 8:6.7.7.10-6ubuntu3.12
    • 8:6.7.7.10-6ubuntu3.13
    • 8:6.7.7.10-6ubuntu3.13+esm1
    • 8:6.7.7.10-6ubuntu3.13+esm2
    • 8:6.7.7.10-6ubuntu3.13+esm3
    • 8:6.7.7.10-6ubuntu3.13+esm4
    • 8:6.7.7.10-6ubuntu3.13+esm5
    • 8:6.7.7.10-6ubuntu3.13+esm6
    • 8:6.7.7.10-6ubuntu3.13+esm7
    • 8:6.7.7.10-6ubuntu3.13+esm8
    • 8:6.7.7.10-6ubuntu3.13+esm9
    • 8:6.7.7.10-6ubuntu3.13+esm10
    • 8:6.7.7.10-6ubuntu3.13+esm11
    • 8:6.7.7.10-6ubuntu3.13+esm12
    • 8:6.7.7.10-6ubuntu3.13+esm13
    • 8:6.7.7.10-6ubuntu3.13+esm14
    • 8:6.7.7.10-6ubuntu3.13+esm15
    • 8:6.7.7.10-6ubuntu3.13+esm16
    • 8:6.7.7.10-6ubuntu3.13+esm17
    • 8:6.7.7.10-6ubuntu3.13+esm18
    • 8:6.7.7.10-6ubuntu3.13+esm19
    • 8:6.7.7.10-6ubuntu3.13+esm20
    • 8:6.7.7.10-6ubuntu3.13+esm21
    • 8:6.7.7.10-6ubuntu3.13+esm22
    • 8:6.7.7.10-6ubuntu3.13+esm23
    • 8:6.7.7.10-6ubuntu3.13+esm24
    • 8:6.7.7.10-6ubuntu3.13+esm25
    • 8:6.7.7.10-6ubuntu3.13+esm26
    • 8:6.7.7.10-6ubuntu3.13+esm27
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 8:6.8.9.9-7ubuntu5.16+esm11
    • 8:6.8.9.9-7ubuntu5.16+esm12
    • 8:6.8.9.9-7ubuntu5.16+esm13
    • 8:6.8.9.9-7ubuntu5.16+esm14
    • 8:6.8.9.9-7ubuntu5.16+esm15
    • 8:6.8.9.9-7ubuntu5.16+esm16
    • 8:6.8.9.9-7ubuntu5.16+esm17
    • 8:6.8.9.9-7ubuntu5.16+esm18
    • 8:6.8.9.9-7ubuntu5.16+esm19
    • 8:6.8.9.9-7ubuntu5.16+esm20
    • 8:6.8.9.9-7ubuntu5.16+esm21
    • 8:6.8.9.9-7ubuntu5.16+esm22
    • 8:6.8.9.9-7ubuntu5.16+esm23
    • 8:6.8.9.9-7ubuntu5.16+esm24
    • 8:6.8.9.9-7ubuntu5.16+esm25
    • 8:6.8.9.9-7ubuntu5.16+esm26
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

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