{"id":"UBUNTU-CVE-2017-18220","details":"The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.","modified":"2025-09-08T16:44:34Z","published":"2018-03-05T22:29:00Z","upstream":["CVE-2017-18220"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18220"},{"type":"REPORT","url":"http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/98721124e51f"},{"type":"REPORT","url":"https://sourceforge.net/p/graphicsmagick/bugs/438/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18220"}],"affected":[{"package":{"name":"graphicsmagick","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/graphicsmagick@1.3.18-1ubuntu3.1+esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-1ubuntu3.1+esm2"}]}],"versions":["1.3.16-1.1ubuntu2","1.3.16-1.1ubuntu3","1.3.18-1ubuntu3","1.3.18-1ubuntu3.1","1.3.18-1ubuntu3.1+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"graphicsmagick"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"graphicsmagick-imagemagick-compat"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"graphicsmagick-libmagick-dev-compat"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"libgraphics-magick-perl"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"libgraphicsmagick++1-dev"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"libgraphicsmagick++3"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"libgraphicsmagick1-dev"},{"binary_version":"1.3.18-1ubuntu3.1+esm2","binary_name":"libgraphicsmagick3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18220.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}