Vulnerability identifier: #VU18360
Vulnerability risk: Medium
CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
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
https://hg.graphicsmagick.org/hg/GraphicsMagick/rev/57ac0ae85e2a
https://sourceforge.net/p/graphicsmagick/bugs/604/
https://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.