Headline
CVE-2021-20309: Division by zero in WaveImage() of MagickCore/visual-effects.c
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.
Bug 1946722 (CVE-2021-20309) - CVE-2021-20309 ImagemMagick: Division by zero in WaveImage() of MagickCore/visual-effects.c
Summary: CVE-2021-20309 ImagemMagick: Division by zero in WaveImage() of MagickCore/vi…
Keywords:
Status:
CLOSED NOTABUG
Alias:
CVE-2021-20309
Product:
Security Response
Classification:
Other
Component:
vulnerability
Sub Component:
Version:
unspecified
Hardware:
All
OS:
Linux
Priority:
low
Severity:
low
Target Milestone:
—
Assignee:
Red Hat Product Security
QA Contact:
Docs Contact:
URL:
Whiteboard:
Depends On:
1946723 1946724 1947266
Blocks:
1946747 1946749
TreeView+
depends on / blocked
Reported:
2021-04-06 18:22 UTC by Pedro Sampaio
Modified:
2021-11-02 23:27 UTC (History)
CC List:
4 users (show)
Fixed In Version:
ImageMagick 7.0.11, ImageMagick 6.9.12
Doc Type:
If docs needed, set a value
Doc Text:
A flaw was found in ImageMagick, 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.
Clone Of:
Environment:
Last Closed:
2021-11-02 23:27:29 UTC
Attachments
(Terms of Use)
Add an attachment (proposed patch, testcase, etc.)
Description Pedro Sampaio 2021-04-06 18:22:58 UTC
A flaw was found in ImageMagick before version 7.0.11 and 6.9.12. A division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via crafted image file.
Upstream issue:
https://github.com/ImageMagick/ImageMagick/issues/3296
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/94174beff065cb5683d09d79e992c3ebbdead311 https://github.com/ImageMagick/ImageMagick6/commit/f1e68d22d1b35459421710587a0dcbab6900b51f
Comment 1 Pedro Sampaio 2021-04-06 18:23:59 UTC
Created ImageMagick tracking bugs for this issue:
Affects: epel-8 [bug 1946723] Affects: fedora-all [bug 1946724]
Comment 2 Todd Cullum 2021-04-06 21:04:43 UTC
Statement:
This flaw is out of support scope for Red Hat Enterprise Linux 6 and 7. It does not affect Red Hat Enterprise Linux 8 because the ImageMagick package is not shipped. To learn more about Red Hat Enterprise Linux support scope, please see https://access.redhat.com/support/policy/updates/errata/ .
Note You need to log in before you can comment on or make changes to this bug.