CVE-2020-27771
CVE-2020-27771
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 3.3 · Low · EPSS 1.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
imagemagick
- Versions
- ImageMagick 7.0.9-0: Affected
No fix published
imagemagick Debian:12
- Affected ranges
- ECOSYSTEM: < 8:6.9.11.24+dfsg-1
Update to 8:6.9.11.24+dfsg-1
imagemagick Debian:13
- Affected ranges
- ECOSYSTEM: < 8:6.9.11.24+dfsg-1
Update to 8:6.9.11.24+dfsg-1
imagemagick Debian:14
- Affected ranges
- ECOSYSTEM: < 8:6.9.11.24+dfsg-1
Update to 8:6.9.11.24+dfsg-1
imagemagick Ubuntu:Pro:16.04:LTS
- Versions
- 8:6.8.9.9-5ubuntu2
- 8:6.8.9.9-6
- 8:6.8.9.9-6build1
- 8:6.8.9.9-7
- 8:6.8.9.9-7ubuntu1
- 8:6.8.9.9-7ubuntu2
- 8:6.8.9.9-7ubuntu3
- 8:6.8.9.9-7ubuntu4
- 8:6.8.9.9-7ubuntu5
- 8:6.8.9.9-7ubuntu5.1
- 8:6.8.9.9-7ubuntu5.2
- 8:6.8.9.9-7ubuntu5.3
- 8:6.8.9.9-7ubuntu5.4
- 8:6.8.9.9-7ubuntu5.5
- 8:6.8.9.9-7ubuntu5.6
- 8:6.8.9.9-7ubuntu5.7
- 8:6.8.9.9-7ubuntu5.8
- 8:6.8.9.9-7ubuntu5.9
- 8:6.8.9.9-7ubuntu5.11
- 8:6.8.9.9-7ubuntu5.12
- 8:6.8.9.9-7ubuntu5.13
- 8:6.8.9.9-7ubuntu5.14
- 8:6.8.9.9-7ubuntu5.15
- 8:6.8.9.9-7ubuntu5.16
- 8:6.8.9.9-7ubuntu5.16+esm1
- 8:6.8.9.9-7ubuntu5.16+esm2
- 8:6.8.9.9-7ubuntu5.16+esm3
- 8:6.8.9.9-7ubuntu5.16+esm4
- 8:6.8.9.9-7ubuntu5.16+esm5
- 8:6.8.9.9-7ubuntu5.16+esm6
- 8:6.8.9.9-7ubuntu5.16+esm7
- 8:6.8.9.9-7ubuntu5.16+esm8
- 8:6.8.9.9-7ubuntu5.16+esm9
- 8:6.8.9.9-7ubuntu5.16+esm10
- Affected ranges
- ECOSYSTEM: < 8:6.8.9.9-7ubuntu5.16+esm11
Update to 8:6.8.9.9-7ubuntu5.16+esm11
imagemagick Ubuntu:18.04:LTS
- Versions
- 8:6.9.7.4+dfsg-16ubuntu2
- 8:6.9.7.4+dfsg-16ubuntu3
- 8:6.9.7.4+dfsg-16ubuntu4
- 8:6.9.7.4+dfsg-16ubuntu5
- 8:6.9.7.4+dfsg-16ubuntu6
- 8:6.9.7.4+dfsg-16ubuntu6.2
- 8:6.9.7.4+dfsg-16ubuntu6.3
- 8:6.9.7.4+dfsg-16ubuntu6.4
- 8:6.9.7.4+dfsg-16ubuntu6.7
- 8:6.9.7.4+dfsg-16ubuntu6.8
- 8:6.9.7.4+dfsg-16ubuntu6.9
- Affected ranges
- ECOSYSTEM: < 8:6.9.7.4+dfsg-16ubuntu6.11
Update to 8:6.9.7.4+dfsg-16ubuntu6.11
imagemagick Ubuntu:20.04:LTS
- Versions
- 8:6.9.10.23+dfsg-2.1ubuntu3
- 8:6.9.10.23+dfsg-2.1ubuntu8
- 8:6.9.10.23+dfsg-2.1ubuntu9
- 8:6.9.10.23+dfsg-2.1ubuntu10
- 8:6.9.10.23+dfsg-2.1ubuntu11
- 8:6.9.10.23+dfsg-2.1ubuntu11.1
- 8:6.9.10.23+dfsg-2.1ubuntu11.2
- Affected ranges
- ECOSYSTEM: < 8:6.9.10.23+dfsg-2.1ubuntu11.4
Update to 8:6.9.10.23+dfsg-2.1ubuntu11.4