#VU30724 Heap-based buffer overflow in ImageMagick - CVE-2019-17540
Published: October 14, 2019 / Updated: July 17, 2020
Vulnerability identifier: #VU30724
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:L/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: CVE-2019-17540
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
ImageMagick
ImageMagick
Software vendor:
ImageMagick.org
ImageMagick.org
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 ReadPSInfo in coders/ps.c. A remote attacker can create a specially crafted file, trick the victim into opening it, 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.
Remediation
Update to version 7.0.8-54.
External links
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942578
- https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54
- https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D
- https://security-tracker.debian.org/tracker/CVE-2019-17540