First published: Tue Oct 27 2020(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ImageMagick ImageMagick | <6.9.10-69 | |
ImageMagick ImageMagick | >=7.0.0-0<7.0.9-0 | |
Debian Debian Linux | =9.0 | |
redhat/ImageMagick 7.0.9 | <0 | 0 |
debian/imagemagick | 8:6.9.11.60+dfsg-1.3+deb11u4 8:6.9.11.60+dfsg-1.3+deb11u3 8:6.9.11.60+dfsg-1.6+deb12u2 8:6.9.11.60+dfsg-1.6+deb12u1 8:7.1.1.39+dfsg1-3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2020-25676 is medium.
CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo() in /MagickCore/pixel.c are affected by CVE-2020-25676.
The affected software for CVE-2020-25676 is ImageMagick.
To fix CVE-2020-25676, update ImageMagick to version 8:6.9.7.4+dfsg-16ubuntu6.11 (for Ubuntu Bionic), 8:6.9.10.23+dfsg-2.1ubuntu11.4 (for Ubuntu Focal), 8:6.9.10.23+dfsg-2.1ubuntu13.3 (for Ubuntu Groovy), 8:6.9.11.24+dfsg-1 (upstream version), or 8:6.8.9.9-7ubuntu5.16+ (for Ubuntu Xenial).
Yes, you can find more information about CVE-2020-25676 at the following references: CVE Mitre, Ubuntu Security Notice USN-4988-1, and Ubuntu Security Notice USN-5335-1.