Integer Overflow or Wraparound Affecting ImageMagick-doc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
1.19% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-IMAGEMAGICKDOC-2022200
  • published26 Jul 2021
  • disclosed8 Oct 2019

Introduced: 8 Oct 2019

CVE-2020-25676  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 ImageMagick-doc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-doc package and not the ImageMagick-doc package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1