# CVE-2021-20309

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-05-11 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-20309, DEBIAN-CVE-2021-20309, ALPINE-CVE-2021-20309
- Record: https://cvemate.com/vulnerability/CVE-2021-20309 · JSON: https://cvemate.com/vulnerability/CVE-2021-20309/json

## Description

```text
A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to 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: 2.315%, percentile 83.983%, 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.0-0, \< 7.0.11.13-r0 \| ≥ 7.0.0-0, \< 7.0.11.1-r0 \| \< 7.0.11.13-r0 \| \< 7.0.11.1-r0
- alpine imagemagick6 (Alpine Linux): \< 6.9.12.31-r0
- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.5
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13+esm1 \| \< 8:6.8.9.9-7ubuntu5.16+esm1 \| \< 8:6.9.7.4+dfsg-16ubuntu6.12 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.9 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1
- debian debian\_linux: 9.0
- imagemagick imagemagick: \< 6.9.12 \| ≥ 7.0.0-0, \< 7.0.11-0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1946722>
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00000.html>
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00020.html>
- <https://ubuntu.com/security/CVE-2021-20309>
- <https://ubuntu.com/security/notices/USN-5158-1>
- <https://ubuntu.com/security/notices/USN-5736-1>
- <https://ubuntu.com/security/notices/USN-5736-2>
- <https://ubuntu.com/security/notices/USN-6200-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-20309>
- <https://security-tracker.debian.org/tracker/CVE-2021-20309>
- <https://security.alpinelinux.org/vuln/CVE-2021-20309>

---

Data as of 2026-12-05T05:00:09.531Z. 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
