CVE-2020-27761

low

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.

References

https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html

https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html

https://bugzilla.redhat.com/show_bug.cgi?id=1894679

Details

Source: Mitre, NVD

Published: 2020-12-03

Updated: 2023-03-11

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 3.3

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Severity: Low