# CVE-2021-20311

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 7.0.11-0 (CNA); fix release not confirmed
- Status: published
- Published: 2021-05-11 · Modified: 2024-08-03
- Aliases: DEBIAN-CVE-2021-20311, CGA-3xmw-cp2r-cqpc, CGA-v2xc-7p88-f29x, ALPINE-CVE-2021-20311
- Record: https://cvemate.com/vulnerability/CVE-2021-20311 · JSON: https://cvemate.com/vulnerability/CVE-2021-20311/json

## Description

```text
A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero in sRGBTransformImage() in the MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
```

## Signals

- CVSS: 7.8 high (v2.0, NVD) AV:N/AC:L/Au:N/C:N/I:N/A:C
- EPSS: 1.272%, percentile 70.833%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine imagemagick (Alpine Linux): \< 7.0.11.13-r0 \| \< 7.0.11.1-r0
- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.5
- imagemagick imagemagick: \< 7.0.11-0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1946739>
- <https://security-tracker.debian.org/tracker/CVE-2021-20311>
- <https://security.alpinelinux.org/vuln/CVE-2021-20311>

---

Data as of 2026-12-05T08:28:44.850Z. 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
