Denial of service in ImageMagick

Published: 2019-07-09 | Updated: 2019-09-13
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-13454
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Client/Desktop applications / Multimedia software


Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Division by zero

EUVDB-ID: #VU19185

Risk: Medium

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

CVE-ID: CVE-2019-13454

CWE-ID: CWE-369 - Divide By Zero

Exploit availability: No


The vulnerability allows a remote attacker to cause a denial of service (DoS) condition on a system.

The vulnerability exists due to a divide-by-zero condition in the "RemoveDuplicateLayers" function, as defined in the "MagickCore/layer.c" file. A remote attacker can make calls on the targeted system and cause a DoS condition.


Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.8-54

External links

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. However, proof of concept for this vulnerability is available.