CVE-2021-20309

HIGH

ImageMagick < 6.9.12 - Denial of Service via Division by Zero in WaveImage

Title source: llm
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2021/06/msg00000.html
Issue Tracking, Patch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1946722

Scores

CVSS v3 7.5
EPSS 0.0232
EPSS Percentile 81.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-369
Status published
Products (2)
debian/debian_linux 9.0
imagemagick/imagemagick < 6.9.12
Published May 11, 2021
Tracked Since Feb 18, 2026