CVE-2020-12672
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
CVE-2020-12672- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
CVE-2020-12672- Updated
- 2026-11-02
EUVDEUVD-2020-4968 No score
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
EUVD-2020-4968- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cg2w-mf57-v7rg
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
GHSA-cg2w-mf57-v7rg- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-12672
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
ALPINE-CVE-2020-12672- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
CVE-2020-12672- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVDEBIAN-CVE-2020-12672
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
DEBIAN-CVE-2020-12672- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-12672
7.5
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c.
- Record
UBUNTU-CVE-2020-12672- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0472 No score
Updated graphicsmagick packages fix security vulnerability
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.c (CVE-2020-12672).
- Record
MGASA-2020-0472- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0779-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
- CVE-2020-12672: heap-based buffer overflow in ReadMNGImage in coders/png.c. (boo#1171271)
- Record
openSUSE-SU-2020:0779-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0788-1 No score
Security update for GraphicsMagick
This update for GraphicsMagick fixes the following issues:
- CVE-2020-12672: heap-based buffer overflow in ReadMNGImage in coders/png.c. (boo#1171271)
This update was imported from the openSUSE:Leap:15.1:Update update project.
- Record
openSUSE-SU-2020:0788-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10596-1 No score
GraphicsMagick-1.3.36-1.7 on GA media
These are all security issues fixed in the GraphicsMagick-1.3.36-1.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10596-1- Updated
- 2026-11-02
OSVUSN-5190-1 No score
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick allowed reading arbitrary files via specially crafted images. An attacker could use this issue to expose sensitive information. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-12921)
It was discovered that GraphicsMagick did not correctly handle memory allocations for error messages. An attacker could use this issue to corrupt memory or possibly execute arbitrary code. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19950)
It was discovered that GraphicsMagick did not correctly handle type limits. An attacker could use these issues to cause heap-based buffer overflows, leading to a denial of service (application crash) or possibly execute arbitrary code. These issues only affect Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19951, CVE-2019-19953)
It was discovered that GraphicsMagick did not correctly handle the signed integer limit in 32-bit applications. An attacker could use this issue to cause a heap-based buffer overflow, leading to a denial of service (application crash) or possibly execute arbitrary code. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2020-10938)
It was discovered that GraphicsMagick did not properly magnify certain images. An attacker could use this issue to cause a heap-based buffer overflow, leading to a denial of service (application crash) or possibly execute arbitrary code. (CVE-2020-12672)
- Record
USN-5190-1- Updated
- 2026-11-02
OSVUSN-5974-1 No score
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick was not properly performing bounds checks when processing TGA image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted TGA image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20184)
It was discovered that GraphicsMagick was not properly validating bits per pixel data when processing DIB image files. If a user or automated system were tricked into processing a specially crafted DIB image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20189)
It was discovered that GraphicsMagick was not properly processing bit-field mask values in BMP image files, which could result in the execution of an infinite loop. If a user or automated system were tricked into processing a specially crafted BMP image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-5685)
It was discovered that GraphicsMagick was not properly validating data used in arithmetic operations when processing MNG image files, which could result in a divide-by-zero error. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-9018)
It was discovered that GraphicsMagick was not properly performing bounds checks when processing MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or expose sensitive information. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2019-11006)
It was discovered that GraphicsMagick did not properly magnify certain MNG image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MNG image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-12672)
It was discovered that GraphicsMagick was not properly performing bounds checks when parsing certain MIFF image files, which could lead to a heap buffer overflow. If a user or automated system were tricked into processing a specially crafted MIFF image file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1270)
- Record
USN-5974-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.12 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.13 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.14 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.15 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.16 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.17 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.18 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.19 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.20 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.21 |
before 1.3.35-r2 | 1.3.35-r2 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickAlpine:v3.22 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.23 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickAlpine:v3.24 |
before 1.3.35-r2 | 1.3.35-r2 |
graphicsmagickDebian:12 |
before 1.4+really1.3.35-2 | 1.4+really1.3.35-2 |
graphicsmagickDebian:13 |
before 1.4+really1.3.35-2 | 1.4+really1.3.35-2 |
graphicsmagickDebian:14 |
before 1.4+really1.3.35-2 | 1.4+really1.3.35-2 |
graphicsmagickDebian:8 |
before 1.3.20-3+deb8u11, plus listed versions 1.3.20-3+deb8u11.3.20-3+deb8u101.3.20-3+deb8u21.3.20-3+deb8u31.3.20-3+deb8u4 Show 5 moreShow less1.3.20-3+deb8u51.3.20-3+deb8u61.3.20-3+deb8u71.3.20-3+deb8u81.3.20-3+deb8u9 |
1.3.20-3+deb8u11 |
graphicsmagickDebian:9 |
before 1.3.30+hg15796-1~deb9u5, plus listed versions 1.3.25-81.3.26-11.3.26-101.3.26-111.3.26-12 Show 28 moreShow less1.3.26-131.3.26-141.3.26-151.3.26-161.3.26-171.3.26-181.3.26-191.3.26-21.3.26-31.3.26-41.3.26-51.3.26-61.3.26-71.3.26-81.3.26-91.3.27-11.3.27-21.3.27-31.3.27-41.3.28-11.3.28-21.3.29+hg15665-11.3.29-11.3.30+hg15796-1~deb9u11.3.30+hg15796-1~deb9u21.3.30+hg15796-1~deb9u31.3.30+hg15796-1~deb9u41.3.30-1 |
1.3.30+hg15796-1~deb9u5 |
graphicsmagickMageia:7 |
before 1.3.35-1.1.mga7 | 1.3.35-1.1.mga7 |
graphicsmagickUbuntu:Pro:14.04:LTS |
before 1.3.18-1ubuntu3.1+esm7, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1 Show 5 moreShow less1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm6 |
1.3.18-1ubuntu3.1+esm7 |
graphicsmagickUbuntu:Pro:16.04:LTS |
before 1.3.23-1ubuntu0.6+esm1, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1 Show 5 moreShow less1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.6 |
1.3.23-1ubuntu0.6+esm1 |
graphicsmagickUbuntu:Pro:18.04:LTS |
before 1.3.28-2ubuntu0.1+esm1, plus listed versions 1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2 Show 4 moreShow less1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.1 |
1.3.28-2ubuntu0.1+esm1 |
graphicsmagickUbuntu:20.04:LTS |
before 1.4+really1.3.35-1ubuntu0.1, plus listed versions 1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1 |
1.4+really1.3.35-1ubuntu0.1 |
graphicsmagickUbuntu:Pro:20.04:LTS |
before 1.4+really1.3.35-1ubuntu0.1~esm1, plus listed versions 1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1 |
1.4+really1.3.35-1ubuntu0.1~esm1 |
graphicsmagickUbuntu:Pro:14.04:LTS From an advisory covering 6 CVEs |
before 1.3.18-1ubuntu3.1+esm7, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1 Show 5 moreShow less1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm6 |
1.3.18-1ubuntu3.1+esm7 |
graphicsmagickUbuntu:Pro:16.04:LTS From an advisory covering 6 CVEs |
before 1.3.23-1ubuntu0.6+esm1, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1 Show 5 moreShow less1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.6 |
1.3.23-1ubuntu0.6+esm1 |
graphicsmagickUbuntu:Pro:18.04:LTS From an advisory covering 6 CVEs |
before 1.3.28-2ubuntu0.1+esm1, plus listed versions 1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2 Show 4 moreShow less1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.1 |
1.3.28-2ubuntu0.1+esm1 |
graphicsmagickUbuntu:Pro:20.04:LTS From an advisory covering 6 CVEs |
before 1.4+really1.3.35-1ubuntu0.1~esm1, plus listed versions 1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1 |
1.4+really1.3.35-1ubuntu0.1~esm1 |
graphicsmagickUbuntu:Pro:14.04:LTS From an advisory covering 7 CVEs |
before 1.3.18-1ubuntu3.1+esm8, plus listed versions 1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1 Show 6 moreShow less1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm61.3.18-1ubuntu3.1+esm7 |
1.3.18-1ubuntu3.1+esm8 |
graphicsmagickUbuntu:Pro:16.04:LTS From an advisory covering 7 CVEs |
before 1.3.23-1ubuntu0.6+esm2, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1 Show 6 moreShow less1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.61.3.23-1ubuntu0.6+esm1 |
1.3.23-1ubuntu0.6+esm2 |
graphicsmagickUbuntu:Pro:18.04:LTS From an advisory covering 7 CVEs |
before 1.3.28-2ubuntu0.2+esm1, plus listed versions 1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2 Show 6 moreShow less1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.11.3.28-2ubuntu0.1+esm11.3.28-2ubuntu0.2 |
1.3.28-2ubuntu0.2+esm1 |
graphicsmagickUbuntu:20.04:LTS From an advisory covering 7 CVEs |
before 1.4+really1.3.35-1ubuntu0.1, plus listed versions 1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1 |
1.4+really1.3.35-1ubuntu0.1 |
GraphicsMagickopenSUSE:Leap 15.1 |
before 1.3.29-lp151.4.20.1 | 1.3.29-lp151.4.20.1 |
GraphicsMagickSUSE:Package Hub 15 SP1 |
before 1.3.29-bp151.5.15.1 | 1.3.29-bp151.5.15.1 |
GraphicsMagickopenSUSE:Tumbleweed From an advisory covering 17 CVEs |
before 1.3.36-1.7 | 1.3.36-1.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-12672 is a high vulnerability (CVSS 7.5) in Graphicsmagick, published May 6, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.92%, the 87th percentile. Fixed in graphicsmagick 1.3.35-r2.
References
bugs.chromium.org/p/oss-fuzz/issues/detail?id=19025
lists.debian.org/debian-lts-announce/2020/06/msg00004.html
lists.opensuse.org/opensuse-security-announce/2020-06/msg00008.html
lists.opensuse.org/opensuse-security-announce/2020-06/msg00012.html
security.gentoo.org/glsa/202209-19
nvd.nist.gov/vuln/detail/CVE-2020-12672
Show 42 moreShow less
github.com/advisories/GHSA-cg2w-mf57-v7rg
security.alpinelinux.org/vuln/CVE-2020-12672
security-tracker.debian.org/tracker/CVE-2020-12672
advisories.mageia.org/MGASA-2020-0472.html
bugs.mageia.org/show_bug.cgi?id=26751
lists.opensuse.org/opensuse-updates/2020-06/msg00034.html
debian.org/lts/security/2020/dla-2236
ubuntu.com/security/CVE-2020-12672
ubuntu.com/security/notices/USN-5190-1
ubuntu.com/security/notices/USN-5974-1
cve.org/CVERecord?id=CVE-2020-12672
ubuntu.com/security/CVE-2019-12921
ubuntu.com/security/CVE-2019-19950
ubuntu.com/security/CVE-2019-19951
ubuntu.com/security/CVE-2019-19953
ubuntu.com/security/CVE-2020-10938
ubuntu.com/security/CVE-2018-5685
ubuntu.com/security/CVE-2018-9018
ubuntu.com/security/CVE-2018-20184
ubuntu.com/security/CVE-2018-20189
ubuntu.com/security/CVE-2019-11006
ubuntu.com/security/CVE-2022-1270
lists.opensuse.org/archives/list/[email protected]/thread/FSODH3CKHT2Z642XWUS6HGRXWRVWYZVC
bugzilla.suse.com/1171271
suse.com/security/cve/CVE-2020-12672
lists.opensuse.org/archives/list/[email protected]/thread/3KARJQKVYQRAHBLAZIRNUKHIGHET67FR
suse.com/security/cve/CVE-2006-3744
suse.com/security/cve/CVE-2006-5456
suse.com/security/cve/CVE-2007-1797
suse.com/security/cve/CVE-2007-4985
suse.com/security/cve/CVE-2007-4988
suse.com/security/cve/CVE-2008-1096
suse.com/security/cve/CVE-2008-1097
suse.com/security/cve/CVE-2016-7800
suse.com/security/cve/CVE-2016-7996
suse.com/security/cve/CVE-2016-7997
suse.com/security/cve/CVE-2016-9830
suse.com/security/cve/CVE-2017-10794
suse.com/security/cve/CVE-2017-10799
suse.com/security/cve/CVE-2017-10800
suse.com/security/cve/CVE-2017-6335
suse.com/security/cve/CVE-2017-8350