CVE-2020-21679 Memory corruption in n/a
Remote attackers can cause denial of service in GraphicsMagick by converting a crafted image file to PCX format due to a buffer overflow.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-21679?
CVE-2020-21679 is a medium-severity memory corruption vulnerability in Graphicsmagick Graphicsmagick, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-787
Which versions are affected by CVE-2020-21679?
It affects 1 product.
Linux distribution packages (5)
ImageMagick SUSE:Linux Enterprise Server 12 SP5 | All versions | 6.8.8.1-71.198.1 |
ImageMagick SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 6.8.8.1-71.198.1 |
ImageMagick SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 6.8.8.1-71.198.1 |
ImageMagick SUSE:Linux Enterprise Workstation Extension 12 SP5 | All versions | 6.8.8.1-71.198.1 |
ImageMagick openSUSE:Leap 15.4 | All versions | 7.0.7.34-150200.10.54.1 |
Products include Graphicsmagick Graphicsmagick.
How do I fix CVE-2020-21679?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-21679 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-21679 exists.
Other vulnerabilities in Graphicsmagick Graphicsmagick
Sources
Also known as DEBIAN-CVE-2020-21679, GHSA-5c8v-qg3w-p36f, OESA-2023-1811, OESA-2023-1817, OESA-2023-1818, OESA-2023-1819 and 4 more.