Vulnerability identifier: #VU18360
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:
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 MAT writer within the function WriteMATLABImage of coders/mat.c, related to ExportRedQuantumType in magick/export.c. A remote attacker can create a crafted image file, pass it to the affected 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
Update to version 1.4 snapshot-20190403 Q8.
Vulnerable software versions
GraphicsMagick: 1.3.30 - 1.3.31
External links
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/57ac0ae85e2a
http://sourceforge.net/p/graphicsmagick/bugs/604/
http://www.graphicsmagick.org/NEWS.html#june-15-2019
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.