Integer overflow in Imagemagick

CVE-2020-25676

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS: 0.012 (66.6th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 67th percentile — 66.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2020-25676: held from 0.012 to 0.012.

EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-25676?
CVE-2020-25676 is a medium-severity vulnerability in Imagemagick, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2020-12-08.
How severe is CVE-2020-25676?
Medium severity. CVSS v3 base score is 5.5 out of 10.