ImageMagick
At a glance
- Source
- NVD
- EPSS
- EPSS 1.18 % · percentile 69 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- ImageMagick
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-190 — Integer Overflow or Wraparound
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2020-20275
- GCVE · GCVE-0-2020-27771
Affected configurations (NVD CPE)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*< 6.9.10-69cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*≥ 7.0.0-0 < 7.0.9cpe:2.3:o:redhat:enterprise_linux:5.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| ImageMagick | affected : ImageMagick 7.0.9-0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |