Vulnerability record · CVE-2021-3962 · published 19 November 2021
CVE-2021-3962: Imagemagick use after free vulnerability
Imagemagick · Imagemagick
A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Description
A flaw was found in ImageMagick where it did not properly sanitize certain input before using it to invoke convert processes. This flaw allows an attacker to create a specially crafted image that leads to a use-after-free vulnerability when processed by ImageMagick. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2023196 | Issue TrackingPatchThird Party Advisory |
| https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e | PatchThird Party Advisory |
| https://github.com/ImageMagick/ImageMagick/issues/4446 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2023196 | Issue TrackingPatchThird Party Advisory |
| https://github.com/ImageMagick/ImageMagick/commit/82775af03bbb10a0a1d0e15c0156c75673b4525e | PatchThird Party Advisory |
| https://github.com/ImageMagick/ImageMagick/issues/4446 | Third Party Advisory |
Track CVE-2021-3962 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3962), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.