Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
image->ticks_per_second
PerceptibleReciprocal()
ImageMagick/coders/webp.c
Lines 936 to 967 in 74f8868
The text was updated successfully, but these errors were encountered:
https://github.com/ImageMagick/ImageMagick/issues/3176
ffb683e
a78d92d
Thanks for the problem report. We can reproduce it and will have a patch to fix it in the GIT main branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://imagemagick.org/download/beta/ by sometime tomorrow.
Sorry, something went wrong.
CVE-2021-20245 appears to have been assigned to this issue.
No branches or pull requests
When
image->ticks_per_secondwas 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 aPerceptibleReciprocal()to do division in line 961?ImageMagick/coders/webp.c
Lines 936 to 967 in 74f8868
The text was updated successfully, but these errors were encountered: