#VU33182 Heap-based buffer overflow in GraphicsMagick


Published: 2017-01-18 | Updated: 2020-08-03

Vulnerability identifier: #VU33182

Vulnerability risk: High

CVSSv3.1: 8.5 [AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-7996

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
GraphicsMagick
Universal components / Libraries / Libraries used by multiple products

Vendor: GraphicsMagick Group

Description

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.

Mitigation
Update to version 1.3.26.

Vulnerable software versions

GraphicsMagick: 1.3.8 - 1.3.25


External links
http://www.debian.org/security/2016/dsa-3746
http://www.openwall.com/lists/oss-security/2016/10/07/4
http://www.openwall.com/lists/oss-security/2016/10/08/5
http://www.securityfocus.com/bid/93464


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability