CVE-2020-25676

Medium

Description

In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo(), which are all functions in /MagickCore/pixel.c, there were multiple unconstrained pixel offset calculations which were being used with the floor() function. These calculations produced undefined behavior in the form of out-of-range and integer overflows, as identified by UndefinedBehaviorSanitizer. These instances of undefined behavior could be triggered by an attacker who is able to supply a crafted input file to be processed by ImageMagick. These issues could impact application availability or potentially cause other problems related to undefined behavior. This flaw affects ImageMagick versions prior to 7.0.9-0.

SeverityMedium
CVSS5.5
Exploit probability—
ProductImagemagick
PublishedDec 8, 2020
First seenDec 8, 2020

How to fix

Update
  • imagemagick imagemagick6.9.10-69, 7.0.9-0 or later

Affected products

ProductAffected versionsFixed in
imagemagick imagemagickv < 6.9.10-69, 7.0.0-0 ≤ v < 7.0.9-06.9.10-69, 7.0.9-0
debian debian_linux9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.