CVE-2020-21679
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows...
CVE-2020-21679 is a medium vulnerability (CVSS 5.5) in Graphicsmagick, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.43%, the 37th percentile. Fixed in graphicsmagick 1.4+really1.3.34+hg16181-1.
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
CVE-2020-21679- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
CVE-2020-21679- Updated
- 2026-11-02
EUVDEUVD-2020-14447 No score
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
EUVD-2020-14447- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5c8v-qg3w-p36f
5.5
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows...
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
GHSA-5c8v-qg3w-p36f- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
5.5
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
CVE-2020-21679- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-21679
5.5
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
DEBIAN-CVE-2020-21679- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 9 moreShow less
OSVOESA-2023-1811
5.5
GraphicsMagick security update
GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.
Security Fix(es):
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.(CVE-2020-21679)
- Record
OESA-2023-1811- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1817
5.5
GraphicsMagick security update
GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.
Security Fix(es):
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.(CVE-2020-21679)
- Record
OESA-2023-1817- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1818
5.5
GraphicsMagick security update
GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.
Security Fix(es):
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.(CVE-2020-21679)
- Record
OESA-2023-1818- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1819
5.5
GraphicsMagick security update
GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.
Security Fix(es):
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.(CVE-2020-21679)
- Record
OESA-2023-1819- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2023-1820
5.5
GraphicsMagick security update
GraphicsMagick is the swiss army knife of image processing. Comprised of 267K physical lines (according to David A. Wheeler's SLOCCount) of source code in the base package (or 1,225K including 3rd party libraries) it provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 89 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, TIFF, and WebP.
Security Fix(es):
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.(CVE-2020-21679)
- Record
OESA-2023-1820- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-21679
5.5
Buffer Overflow vulnerability in WritePCXImage function in pcx.c in GraphicsMagick 1.4 allows remote attackers to cause a denial of service via converting of crafted image file to pcx format.
- Record
UBUNTU-CVE-2020-21679- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2023:3739-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2020-21679: Fixed a buffer overflow in WritePCXImage function in pcx.c which may allow a remote attackers to cause a denial of service. (bsc#1214578)
- Record
SUSE-SU-2023:3739-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:3792-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2020-21679: Fixed a buffer overflow in WritePCXImage function in pcx.c which may allow a remote attackers to cause a denial of service. (bsc#1214578)
- Record
SUSE-SU-2023:3792-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:4634-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
Security issues:
- CVE-2023-5341: Fixed a heap use-after-free in coders/bmp.c. (bsc#1215939)
- CVE-2020-21679: Fixed a buffer overflow in WritePCXImage function in pcx.c which may allow a remote attackers to cause a denial of service. (bsc#1214578)
- CVE-2023-3745: Fixed heap out of bounds read in PushCharPixel() in quantum-private.h (bsc#1213624).
- CVE-2023-34151: Fixed an undefined behavior issue due to floating point truncation (bsc#1211791).
- CVE-2023-1289: Fixed segmentation fault and possible DoS via specially crafted SVG. (bsc#1209141)
- CVE-2022-44268: Fixed arbitrary file disclosure when parsing a PNG image (bsc#1207983).
- CVE-2022-44267: Fixed a denial of service when parsing a PNG image (bsc#1207982).
- CVE-2022-32547: Fixed a load of misaligned address at MagickCore/property.c. (bsc#1200387)
- CVE-2022-32546: Fixed an outside the range of representable values of type. (bsc#1200389)
- CVE-2022-32545: Fixed an outside the range of representable values of type. (bsc#1200388)
- CVE-2022-28463: Fixed buffer overflow in coders/cin.c (bsc#1199350).
- CVE-2022-2719: Fixed a reachable assertion that could lead to denial of service via a crafted file (bsc#1202250).
- CVE-2022-0284: Fixed heap buffer overread in GetPixelAlpha() in MagickCore/pixel-accessor.h (bsc#1195563).
- CVE-2021-3574: Fixed memory leaks with convert command (bsc#1203212).
- CVE-2021-20313: Cipher leak when the calculating signatures in TransformSignatureof MagickCore/signature.c (bsc#1184628)
- CVE-2021-20312: Integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c (bsc#1184627)
- CVE-2021-20311: Division by zero in sRGBTransformImage() in MagickCore/colorspace.c (bsc#1184626)
- CVE-2021-20309: Division by zero in WaveImage() of MagickCore/visual-effects. (bsc#1184624)
- CVE-2021-20246: Division by zero in ScaleResampleFilter in MagickCore/resample.c (bsc#1182337).
- CVE-2021-20244: Division by zero in ImplodeImage in MagickCore/visual-effects.c (bsc#1182325).
- CVE-2021-20243: Division by zero in GetResizeFilterWeight in MagickCore/resize.c (bsc#1182336).
- CVE-2021-20241: Division by zero in WriteJP2Image() in coders/jp2.c (bsc#1182335).
- CVE-2021-20224: Fixed an integer overflow that could be triggered via a crafted file (bsc#1202800).
- CVE-2021-20176: Fixed an issue where processing a crafted file could lead to division by zero (bsc#1181836).
- CVE-2019-17540: Fixed heap-based buffer overflow in ReadPSInfo in coders/ps.c. (bsc#1153866)
Bugfixes:
- Use png_get_eXIf_1 when available (bsc#1197147).
- Record
SUSE-SU-2023:4634-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:12 |
before 1.4+really1.3.34+hg16181-1 | 1.4+really1.3.34+hg16181-1 |
graphicsmagickDebian:13 |
before 1.4+really1.3.34+hg16181-1 | 1.4+really1.3.34+hg16181-1 |
graphicsmagickDebian:14 |
before 1.4+really1.3.34+hg16181-1 | 1.4+really1.3.34+hg16181-1 |
GraphicsMagickopenEuler:22.03-LTS-SP1 |
before 1.3.41-1.oe2203sp1 | 1.3.41-1.oe2203sp1 |
GraphicsMagickopenEuler:20.03-LTS-SP3 |
before 1.3.41-1.oe1 | 1.3.41-1.oe1 |
GraphicsMagickopenEuler:22.03-LTS |
before 1.3.41-1.oe2203 | 1.3.41-1.oe2203 |
GraphicsMagickopenEuler:22.03-LTS-SP2 |
before 1.3.41-1.oe2203sp2 | 1.3.41-1.oe2203sp2 |
GraphicsMagickopenEuler:20.03-LTS-SP1 |
before 1.3.41-1.oe1 | 1.3.41-1.oe1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 6.8.8.1-71.198.1 | 6.8.8.1-71.198.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP5 |
before 6.8.8.1-71.198.1 | 6.8.8.1-71.198.1 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 6.8.8.1-71.198.1 | 6.8.8.1-71.198.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP5 |
before 6.8.8.1-71.198.1 | 6.8.8.1-71.198.1 |
ImageMagickopenSUSE:Leap 15.4 |
before 7.0.7.34-150200.10.54.1 | 7.0.7.34-150200.10.54.1 |
ImageMagickSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
ImageMagickSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 7.0.7.34-150000.3.123.1 | 7.0.7.34-150000.3.123.1 |
graphicsmagickUbuntu:Pro:14.04:LTS |
All versions, 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 7 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+esm71.3.18-1ubuntu3.1+esm8 |
None known |
graphicsmagickUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1 Show 7 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+esm11.3.23-1ubuntu0.6+esm2 |
None known |
graphicsmagickUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2 Show 7 moreShow less1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.11.3.28-2ubuntu0.1+esm11.3.28-2ubuntu0.21.3.28-2ubuntu0.2+esm1 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
sourceforge.net/p/graphicsmagick/bugs/619
nvd.nist.gov/vuln/detail/CVE-2020-21679
github.com/advisories/GHSA-5c8v-qg3w-p36f
security-tracker.debian.org/tracker/CVE-2020-21679
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1811
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1817
Show 57 moreShow less
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1818
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1819
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1820
suse.com/support/update/announcement/2023/suse-su-20233739-1
bugzilla.suse.com/1214578
suse.com/security/cve/CVE-2020-21679
suse.com/support/update/announcement/2023/suse-su-20233792-1
suse.com/support/update/announcement/2023/suse-su-20234634-1
bugzilla.suse.com/1153866
bugzilla.suse.com/1181836
bugzilla.suse.com/1182325
bugzilla.suse.com/1182335
bugzilla.suse.com/1182336
bugzilla.suse.com/1182337
bugzilla.suse.com/1184624
bugzilla.suse.com/1184626
bugzilla.suse.com/1184627
bugzilla.suse.com/1184628
bugzilla.suse.com/1195563
bugzilla.suse.com/1197147
bugzilla.suse.com/1199350
bugzilla.suse.com/1200387
bugzilla.suse.com/1200388
bugzilla.suse.com/1200389
bugzilla.suse.com/1202250
bugzilla.suse.com/1202800
bugzilla.suse.com/1207982
bugzilla.suse.com/1207983
bugzilla.suse.com/1209141
bugzilla.suse.com/1211791
bugzilla.suse.com/1213624
bugzilla.suse.com/1215939
suse.com/security/cve/CVE-2019-17540
suse.com/security/cve/CVE-2021-20176
suse.com/security/cve/CVE-2021-20224
suse.com/security/cve/CVE-2021-20241
suse.com/security/cve/CVE-2021-20243
suse.com/security/cve/CVE-2021-20244
suse.com/security/cve/CVE-2021-20246
suse.com/security/cve/CVE-2021-20309
suse.com/security/cve/CVE-2021-20311
suse.com/security/cve/CVE-2021-20312
suse.com/security/cve/CVE-2021-20313
suse.com/security/cve/CVE-2022-0284
suse.com/security/cve/CVE-2022-2719
suse.com/security/cve/CVE-2022-28463
suse.com/security/cve/CVE-2022-32545
suse.com/security/cve/CVE-2022-32546
suse.com/security/cve/CVE-2022-32547
suse.com/security/cve/CVE-2022-44267
suse.com/security/cve/CVE-2022-44268
suse.com/security/cve/CVE-2023-1289
suse.com/security/cve/CVE-2023-34151
suse.com/security/cve/CVE-2023-3745
suse.com/security/cve/CVE-2023-5341
ubuntu.com/security/CVE-2020-21679
cve.org/CVERecord?id=CVE-2020-21679