5.5medium
In CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels(), and InterpolatePixelInfo(), which are all fun…
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.19% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ImageMagick | prior to 7.0.9-0 | CVE List |
| imagemagick imagemagick | before 6.9.10-69, from 7.0.0-0 before 7.0.9-0 | NVD |
| debian debian_linux | 9.0 | NVD |
All scores
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
En CatromWeights(), MeshInterpolate(), InterpolatePixelChannel(), InterpolatePixelChannels() e InterpolatePixelInfo(), que son todas funciones en el archivo /MagickCore/pixel.c, había varios cálculos de desplazamiento de píxeles sin restricciones que se estaban utilizando con la función floor(). Estos cálculos produjeron un comportamiento indefinido en forma de desbordamientos de enteros y fuera de rango, según lo identificado por UndefinedBehaviorSanitizer. Estas instancias de comportamiento indefinido podrían ser desencadenadas por un atacante que pueda suministrar un archivo de entrada diseñado para ser procesado por ImageMagick. Estos problemas podrían afectar la disponibilidad de la aplicación o potencialmente causar otros problemas relacionados con el comportamiento indefinido. Este fallo afecta a ImageMagick versiones anteriores a 7.0.9-0
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1891934 | exploit, issue-tracking, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html | mailing-list, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html | mailing-list | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-25676 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-25676 changed 2026-06-17 | Public domain |