#VU33181 Heap-based buffer overflow in GraphicsMagick


Published: 2017-02-06 | Updated: 2020-08-03

Vulnerability identifier: #VU33181

Vulnerability risk: Medium

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

CVE-ID: CVE-2016-7800

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 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.

Mitigation
Update to version 1.3.26.

Vulnerable software versions

GraphicsMagick: 1.3.8 - 1.3.25


External links
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
http://bugzilla.redhat.com/show_bug.cgi?id=1381148
http://sourceforge.net/p/graphicsmagick/code/ci/5c7b6d6094a25e99c57f8b18343914ebfd8213ef/


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