Heap-based buffer overflow in ImageMagick

Published: 2022-02-24 | Updated: 2023-06-23
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-3610
Exploitation vector Network
Public exploit N/A
Vulnerable software
Client/Desktop applications / Multimedia software

Vendor ImageMagick.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU62858

Risk: Medium

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

CVE-ID: CVE-2021-3610

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No


The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to an incorrect setting of the pixel array size in ReadTIFFImage() function in coders/tiff.c. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and perform a denial of service attack.


Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.0-0 - 7.0.11-13

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.