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
EPSS: 0.012 (64.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Imagemagick
- Debian Debian_linux — versions 9.0
- N/a Imagemagick — versions prior to 7.0.9-0
Weakness classification (CWE)
References
- secalert@redhat.com (Exploit, Patch, Third Party Advisory, Issue Tracking)
- secalert@redhat.com (mailing-list, Mailing List, Third Party Advisory)
- secalert@redhat.com (mailing-list)
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.