ImageMagick
At a glance
- Source
- NVD
- EPSS
- EPSS 0.72 % · percentile 55 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- ImageMagick
- NVD status
- Modified
Description
In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds write later when PopShortPixel() from MagickCore/quantum-private.h is called. The patch fixes the calls by adding 256 to rowbytes. An attacker who is able to supply a specially crafted image could affect availability with a low impact to data integrity. This flaw affects ImageMagick versions prior to 6.9.10-68 and 7.0.8-68.
Weaknesses (CWE)
- CWE-122 — Heap-based Buffer Overflow
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2020-18326
- GCVE · GCVE-0-2020-25664
Affected configurations (NVD CPE)
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*< 6.9.10-68cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*≥ 7.0.8 < 7.0.8-68cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| ImageMagick | affected : prior to 7.0.8-68 affected : prior to 6.9.10-68 |
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 |