Bug 1728474 (CVE-2019-13454) - CVE-2019-13454 ImageMagick: division by zero in RemoveDuplicateLayers in MagickCore/layer.c
Summary: CVE-2019-13454 ImageMagick: division by zero in RemoveDuplicateLayers in Magi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-13454
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1728475 1730101
Blocks: 1727742
TreeView+ depends on / blocked
 
Reported: 2019-07-10 04:25 UTC by Dhananjay Arunesh
Modified: 2023-09-07 20:14 UTC (History)
5 users (show)

Fixed In Version: ImageMagick 6.9.10-54, ImageMagick 7.0.8-54
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-31 22:34:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1180 0 None None None 2020-03-31 19:32:29 UTC

Description Dhananjay Arunesh 2019-07-10 04:25:04 UTC
ImageMagick 7.0.8-54 Q16 allows Division by Zero in RemoveDuplicateLayers in MagickCore/layer.c.

Reference:
https://github.com/ImageMagick/ImageMagick/issues/1629

Upstream commit:
https://github.com/ImageMagick/ImageMagick/commit/1ddcf2e4f28029a888cadef2e757509ef5047ad8
https://github.com/ImageMagick/ImageMagick6/commit/4f31d78716ac94c85c244efcea368fea202e2ed4

Comment 1 Dhananjay Arunesh 2019-07-10 04:25:15 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1728475]

Comment 3 Riccardo Schirone 2019-07-15 20:12:28 UTC
The Division by Zero is caused by curr->ticks_per_second being 0 in RemoveDuplicateLayers().

Comment 6 errata-xmlrpc 2020-03-31 19:32:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 7 Product Security DevOps Team 2020-03-31 22:34:34 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-13454


Note You need to log in before you can comment on or make changes to this bug.