Heap-based buffer overflow in GraphicsMagick - CVE-2016-7800
Published: February 6, 2017 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Integer underflow in the parse8BIM function in coders/meta.c in GraphicsMagick 1.3.25 and earlier. A remote attacker can use a crafted 8BIM chunk to 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
Amazon Linux AMI
Fedora
graphicsmagick (Alpine package)
GraphicsMagick
How to mitigate CVE-2016-7800
GraphicsMagick - addressed in versions 1.3.25-6.el6, 1.3.25-6.el7, 1.3.25-6.fc24, 1.3.25-6.fc25
External References
- http://lists.opensuse.org/opensuse-updates/2016-10/msg00094.html
- http://lists.opensuse.org/opensuse-updates/2016-10/msg00097.html
- http://www.debian.org/security/2016/dsa-3746
- http://www.openwall.com/lists/oss-security/2016/10/01/7
- http://www.securityfocus.com/bid/93262
- http://www.securityfocus.com/bid/96135
- https://bugzilla.redhat.com/show_bug.cgi?id=1381148
- https://sourceforge.net/p/graphicsmagick/code/ci/5c7b6d6094a25e99c57f8b18343914ebfd8213ef/
Related Security Bulletins
- Heap-based buffer overflow in GraphicsMagick
- Heap-based buffer overflow in graphicsmagick (Alpine package)
- Amazon Linux AMI update for GraphicsMagick
- Fedora EPEL 7 update for GraphicsMagick
- Fedora EPEL 6 update for GraphicsMagick
- Fedora 25 update for GraphicsMagick
- Fedora 24 update for GraphicsMagick