#VU18363 Stack-based buffer overflow in GraphicsMagick


Published: 2019-04-28 | Updated: 2019-06-17

Vulnerability identifier: #VU18363

Vulnerability risk: Medium

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

CVE-ID: CVE-2019-11005

CWE-ID: CWE-121

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 when processing a quoted font family value within the SVGStartElement() function in coders/svg.c in SVG reader. A remote unauthenticated attacker can create a specially crafted image, pass it to the affected application, trigger stack-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.32 or 1.4 snapshot-20190322 Q8.

Vulnerable software versions

GraphicsMagick: 1.3.31


External links
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/b6fb77d7d54d
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00093.html
http://sourceforge.net/p/graphicsmagick/bugs/600/
http://www.graphicsmagick.org/NEWS.html#june-15-2019


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