Bug 1627916 (CVE-2018-16749) - CVE-2018-16749 ImageMagick: reachable assertion in ReadOneJNGImage in coders/png.c
Summary: CVE-2018-16749 ImageMagick: reachable assertion in ReadOneJNGImage in coders/...
Alias: CVE-2018-16749
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1627918 Engineering1701535
Blocks: Embargoed1696300
TreeView+ depends on / blocked
Reported: 2018-09-11 21:18 UTC by Pedro Sampaio
Modified: 2020-03-31 22:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-03-31 22:33:16 UTC

Attachments (Terms of Use)

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

Description Pedro Sampaio 2018-09-11 21:18:23 UTC
In ImageMagick 7.0.7-29 and earlier, a missing NULL check in ReadOneJNGImage in coders/png.c allows an attacker to cause a denial of service (WriteBlob assertion failure and application exit) via a crafted file.

Upstream issue:


Upstream patch:


Comment 1 Pedro Sampaio 2018-09-11 21:22:38 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1627918]

Comment 4 Riccardo Schirone 2019-04-19 13:01:26 UTC
Assertion in WriteBlob() is reachable because coders/png.c:ReadOneJNGImage() does not properly check if the image passed as parameter is NULL.

Comment 7 errata-xmlrpc 2020-03-31 19:31:58 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 8 Product Security DevOps Team 2020-03-31 22:33:16 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


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