Heap-based buffer overflow in GraphicsMagick - CVE-2020-12672
Published: May 6, 2020 / Updated: December 27, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the "ReadMNGImage" in coders/png.c. A remote attacker can trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Ubuntu
SUSE Linux
Opensuse
openEuler
graphicsmagick (Alpine package)
collectd (Alpine package)
libgraphicsmagick++3 (Ubuntu package)
libgraphicsmagick3 (Ubuntu package)
graphicsmagick (Ubuntu package)
libgraphicsmagick-q16-3 (Ubuntu package)
libgraphicsmagick++-q16-12 (Ubuntu package)
GraphicsMagick-devel
GraphicsMagick-debugsource
GraphicsMagick-perl
GraphicsMagick-debuginfo
GraphicsMagick
GraphicsMagick-help
GraphicsMagick-c++-devel
GraphicsMagick-c++
media-gfx/graphicsmagick
How to mitigate CVE-2020-12672
libgraphicsmagick++3 (Ubuntu package) - update to 1.3.18-1ubuntu3.1+esm7
libgraphicsmagick3 (Ubuntu package) - update to 1.3.18-1ubuntu3.1+esm7
graphicsmagick (Ubuntu package) - addressed in versions 1.3.18-1ubuntu3.1+esm7, 1.3.23-1ubuntu0.6+esm1, 1.3.28-2ubuntu0.1+esm1, 1.4+really1.3.35-1ubuntu0.1~esm1, 1.4+really1.3.35-1ubuntu0.1
libgraphicsmagick-q16-3 (Ubuntu package) - addressed in versions 1.3.23-1ubuntu0.6+esm1, 1.3.28-2ubuntu0.1+esm1, 1.4+really1.3.35-1ubuntu0.1~esm1, 1.4+really1.3.35-1ubuntu0.1
libgraphicsmagick++-q16-12 (Ubuntu package) - addressed in versions 1.3.23-1ubuntu0.6+esm1, 1.3.28-2ubuntu0.1+esm1, 1.4+really1.3.35-1ubuntu0.1~esm1
GraphicsMagick-devel - update to 1.3.30-9
GraphicsMagick-debugsource - update to 1.3.30-9
GraphicsMagick-perl - update to 1.3.30-9
GraphicsMagick-debuginfo - update to 1.3.30-9
GraphicsMagick - update to 1.3.30-9
GraphicsMagick-help - update to 1.3.30-9
GraphicsMagick-c++-devel - update to 1.3.30-9
GraphicsMagick-c++ - update to 1.3.30-9
media-gfx/graphicsmagick - update to 1.3.38
External References
Related Security Bulletins
- Remote code execution in GraphicsMagick
- OpenSUSE Linux update for GraphicsMagick
- OpenSUSE Linux update for GraphicsMagick
- Heap-based buffer overflow in graphicsmagick (Alpine package)
- Heap-based buffer overflow in collectd (Alpine package)
- Gentoo update for GraphicsMagick
- Ubuntu update for graphicsmagick
- openEuler 20.03 LTS update for GraphicsMagick
- Ubuntu update for graphicsmagick