#VU18366 Heap-based buffer overflow in GraphicsMagick


Published: 2019-04-28

Vulnerability identifier: #VU18366

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-11008

CWE-ID: CWE-122

Exploitation vector: Local

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 within the WriteXWDImage() function in coders/xwd.c. A remote attacker can create a crafted XWD file, pass it to the application, 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
Install update from vendor's website.

Vulnerable software versions

GraphicsMagick: 1.4


External links
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/d823d23a474b
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00093.html
http://lists.debian.org/debian-lts-announce/2019/04/msg00015.html
http://sourceforge.net/p/graphicsmagick/bugs/599/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability