Integer Overflow or Wraparound Affecting ImageMagick-devel package, versions *


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.18% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL6-IMAGEMAGICKDEVEL-1411123
  • published26 Jul 2021
  • disclosed14 Oct 2019

Introduced: 14 Oct 2019

CVE-2020-27771  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:6 ImageMagick-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-devel package and not the ImageMagick-devel package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

In RestoreMSCWarning() of /coders/pdf.c there are several areas where calls to GetPixelIndex() could result in values outside the range of representable for the unsigned char type. The patch casts the return value of GetPixelIndex() to ssize_t type to avoid this bug. This undefined behavior could be triggered when ImageMagick processes a crafted pdf file. Red Hat Product Security marked this as Low severity because although it could potentially lead to an impact to application availability, no specific impact was demonstrated in this case. This flaw affects ImageMagick versions prior to 7.0.9-0.

CVSS Base Scores

version 3.1