Vulnerability · Published Feb 24, 2022 · Assigned by redhat
CVE-2021-3596
Medium 6.5
In plain English
A medium-severity null pointer dereference in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is due to not checking the return value from libxml2's xmlCreatePushParserCtxt() and uses the value directly, which leads to a crash and segmentation fault.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | imagemagick | 7.0.10.31-r0 | ALPINE-CVE-2021-3596 |
| Alpine:v3.21 | imagemagick | 7.0.10.31-r0 | ALPINE-CVE-2021-3596 |
| Alpine:v3.22 | imagemagick | 7.0.10.31-r0 | ALPINE-CVE-2021-3596 |
| Alpine:v3.23 | imagemagick | 7.0.10.31-r0 | ALPINE-CVE-2021-3596 |
| Alpine:v3.24 | imagemagick | 7.0.10.31-r0 | ALPINE-CVE-2021-3596 |
| Debian:12 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-3596 |
| Debian:13 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-3596 |
| Debian:14 | imagemagick | 8:6.9.11.57+dfsg-1 | DEBIAN-CVE-2021-3596 |
| Ubuntu:22.04:LTS | imagemagick | 8:6.9.11.60+dfsg-1.3build1 | UBUNTU-CVE-2021-3596 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | ImageMagick 7.0.10-31 |
Weakness: CWE-476