A flaw was found in ImageMagick in coders/webp.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
465FCAC7-2745-4B78-AF5C-58D7B3A8D424
6.9.11-62
cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
9F0B33DA-57F7-49FF-853A-336B5131B4ED
7.0.10-62
7.0.0
OR
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
142AD0DD-4CF3-4D74-9442-459CE3347E3A
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
F4CFF558-3C47-480D-A2F0-BABF26042943
OR
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
E460AA51-FCDA-46B9-AE97-E6676AA5E194
OR
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
DEECE5FC-CACF-4496-A3E7-164736409252
OR
When `image->ticks_per_second` was set to zero, a division by zero error would happen in line 961. So a crafted file may trigger undefined behavior in the form of division by zero. Maybe there need a `PerceptibleReciprocal()` to do division in line 961?

https://github.com/ImageMagick/ImageMagick/blob/74f8868c779a5bde13f594ae12955d5d281ef890/coders/webp.c#L936-L967
Division by zero in WriteAnimatedWEBPImage() in coders/webp.c 
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Division by zero in WriteAnimatedWEBPImage() in coders/webp.c 
Issue date:

--- start body ---
When `image->ticks_per_second` was set to zero, a division by zero error would happen in line 961. So a crafted file may trigger undefined behavior in the form of division by zero. Maybe there need a `PerceptibleReciprocal()` to do division in line 961?

https://github.com/ImageMagick/ImageMagick/blob/74f8868c779a5bde13f594ae12955d5d281ef890/coders/webp.c#L936-L967
--- end body ---

comments :
--- start comments ---

--- end comments ---