3.3low
WritePALMImage() in /coders/palm.c used sizet casts in several areas of a calculation which could lead to values outside the range of repre…
- Severity
- 3.3low CVSS:3.1 by NVD
- Exploit likelihood
- 1.09% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t` instead to avoid this issue. Red Hat Product Security marked the Severity as Low because although it could potentially lead to an impact to application availability, no specific impact was shown in this case. This flaw affects ImageMagick versions prior to ImageMagick 7.0.9-0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ImageMagick | ImageMagick 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 | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| 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
WritePALMImage() in /coders/palm.c used size_t casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t` instead to avoid this issue. Red Hat Product Security marked the Severity as Low because although it could potentially lead to an impact to application availability, no specific impact was shown in this case. This flaw affects ImageMagick versions prior to ImageMagick 7.0.9-0.
NVD (es)
La función WritePALMImage() en el archivo /coders/palm.c usó conversiones size_t en varias áreas de un cálculo que podría conllevar a valores fuera del rango de comportamiento indefinido de tipo representable "unsigned long" cuando un archivo de entrada diseñado era procesado por ImageMagick. En su lugar, el parche se convierte en "ssize_t" para evitar este problema. La seguridad de productos de Red Hat marcó la gravedad como baja porque, aunque podría generar un impacto en la disponibilidad de la aplicación, no se mostró un impacto específico en este caso. Este fallo afecta a ImageMagick versiones anteriores a 7.0.9-0
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1894679 | 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-27761 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-27761 changed 2026-06-17 | Public domain |