# CVE-2021-3596

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-02-24 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-3596, DEBIAN-CVE-2021-3596, CGA-39wh-2m2j-9rcp, CGA-fg72-cvrm-2g9h, ALPINE-CVE-2021-3596
- Record: https://cvemate.com/vulnerability/CVE-2021-3596 · JSON: https://cvemate.com/vulnerability/CVE-2021-3596/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.894%, percentile 80.322%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine imagemagick (Alpine Linux): \< 7.0.10.31-r0
- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): \< 8:6.9.11.57+dfsg-1
- ubuntu imagemagick (Ubuntu): \< 8:6.9.11.60+dfsg-1.3build1
- debian debian\_linux: 9.0
- fedoraproject fedora: 34
- imagemagick imagemagick: \< 7.0.10-31
- redhat enterprise\_linux: 5.0 \| 6.0 \| 7.0

## References

- <https://github.com/ImageMagick/ImageMagick/issues/2624>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1970569>
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00018.html>
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html>
- <https://ubuntu.com/security/CVE-2021-3596>
- <https://www.cve.org/CVERecord?id=CVE-2021-3596>
- <https://security-tracker.debian.org/tracker/CVE-2021-3596>
- <https://security.alpinelinux.org/vuln/CVE-2021-3596>

---

Data as of 2026-12-05T05:19:01.675Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
