Heap-based buffer overflow in GraphicsMagick - CVE-2016-7996
Published: January 18, 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 Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and earlier. A remote attacker can use a colormap with a large number of entries. 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-7996
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
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