NULL pointer dereference in ImageMagick

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


Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) NULL pointer dereference

EUVDB-ID: #VU62859

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-3596

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No


The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in ReadSVGImage() function in coders/svg.c. A remote attacker can pass specially crafted data to the application and perform a denial of service attack.


Install update from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.0-0 - 7.0.10-30

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.