{"id":"CVE-2018-5685","aliases":["ALPINE-CVE-2018-5685","DEBIAN-CVE-2018-5685","DLA-1245-1","DLA-1456-1","DSA-4321-1","EUVD-2018-17454","GHSA-3r44-xhxh-qh7x","SUSE-SU-2018:0349-1","SUSE-SU-2018:0350-1","SUSE-SU-2018:0413-1","UBUNTU-CVE-2018-5685","USN-5974-1"],"status":"published","title":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage...","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01938,"percentile":0.80219,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-01-14T02:00:00Z","modified":"2026-11-03T06:31:23Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"graphicsmagick","fixed_in":["1.3.28-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.27-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.27-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.27-4"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"graphicsmagick","fixed_in":["1.3.16-1.1+deb7u17"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","fixed_in":["1.3.18-1ubuntu3.1+esm8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.6+esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-4"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.16-1.1+deb7u17"}]}],"versions":["1.3.16-1.1","1.3.16-1.1+deb7u1","1.3.16-1.1+deb7u10","1.3.16-1.1+deb7u11","1.3.16-1.1+deb7u12","1.3.16-1.1+deb7u13","1.3.16-1.1+deb7u14","1.3.16-1.1+deb7u15","1.3.16-1.1+deb7u16","1.3.16-1.1+deb7u2","1.3.16-1.1+deb7u3","1.3.16-1.1+deb7u4","1.3.16-1.1+deb7u5","1.3.16-1.1+deb7u6","1.3.16-1.1+deb7u7","1.3.16-1.1+deb7u8","1.3.16-1.1+deb7u9"]},{"source":"osv","ecosystem":"Debian:8","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-3+deb8u4"}]}],"versions":["1.3.20-3+deb8u1","1.3.20-3+deb8u2","1.3.20-3+deb8u3"],"bundled":31},{"source":"osv","ecosystem":"Debian:9","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.30+hg15796-1~deb9u1"}]}],"versions":["1.3.25-8","1.3.26-1","1.3.26-10","1.3.26-11","1.3.26-12","1.3.26-13","1.3.26-14","1.3.26-15","1.3.26-16","1.3.26-17","1.3.26-18","1.3.26-19","1.3.26-2","1.3.26-3","1.3.26-4","1.3.26-5","1.3.26-6","1.3.26-7","1.3.26-8","1.3.26-9","1.3.27-1","1.3.27-2","1.3.27-3","1.3.27-4","1.3.28-1","1.3.28-2","1.3.29+hg15665-1","1.3.29-1","1.3.30-1"],"bundled":56},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.3.6-7.78.29.2"}]}],"bundled":30},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.3.6-7.78.29.2"}]}],"bundled":30},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.3.6-7.78.29.2"}]}],"bundled":30},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.33.1"}]}],"bundled":34},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-1ubuntu3.1+esm8"}]}],"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","1.3.18-1ubuntu3.1+esm2","1.3.18-1ubuntu3.1+esm3","1.3.18-1ubuntu3.1+esm4","1.3.18-1ubuntu3.1+esm5","1.3.18-1ubuntu3.1+esm6","1.3.18-1ubuntu3.1+esm7"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.6+esm2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.1+esm1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3","1.3.23-1ubuntu0.4","1.3.23-1ubuntu0.5","1.3.23-1ubuntu0.6","1.3.23-1ubuntu0.6+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-1ubuntu3.1+esm8"}]}],"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","1.3.18-1ubuntu3.1+esm2","1.3.18-1ubuntu3.1+esm3","1.3.18-1ubuntu3.1+esm4","1.3.18-1ubuntu3.1+esm5","1.3.18-1ubuntu3.1+esm6","1.3.18-1ubuntu3.1+esm7"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.6+esm2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.1+esm1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3","1.3.23-1ubuntu0.4","1.3.23-1ubuntu0.5","1.3.23-1ubuntu0.6","1.3.23-1ubuntu0.6+esm1"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-2ubuntu0.2+esm1"}]}],"versions":["1.3.26-15","1.3.26-16","1.3.26-19","1.3.27-1","1.3.27-2","1.3.27-3","1.3.28-1","1.3.28-2","1.3.28-2ubuntu0.1","1.3.28-2ubuntu0.1+esm1","1.3.28-2ubuntu0.2"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4+really1.3.35-1ubuntu0.1"}]}],"versions":["1.4+really1.3.33+hg16115-1","1.4+really1.3.33+hg16115-1build1","1.4+really1.3.33+hg16117-1","1.4+really1.3.34-1","1.4+really1.3.34-2","1.4+really1.3.34+hg16181-1","1.4+really1.3.35-1"],"bundled":7}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://sourceforge.net/p/graphicsmagick/bugs/541/","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/52a91ddb1aa6","tags":["x_refsource_MISC","x_transferred","Patch","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00018.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4321","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5685"},{"url":"https://github.com/advisories/GHSA-3r44-xhxh-qh7x"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-5685","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5685","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180349-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1043353","tags":["report"]},{"url":"https://bugzilla.suse.com/1043354","tags":["report"]},{"url":"https://bugzilla.suse.com/1047908","tags":["report"]},{"url":"https://bugzilla.suse.com/1050037","tags":["report"]},{"url":"https://bugzilla.suse.com/1050072","tags":["report"]},{"url":"https://bugzilla.suse.com/1050098","tags":["report"]},{"url":"https://bugzilla.suse.com/1050100","tags":["report"]},{"url":"https://bugzilla.suse.com/1050635","tags":["report"]},{"url":"https://bugzilla.suse.com/1051442","tags":["report"]},{"url":"https://bugzilla.suse.com/1052470","tags":["report"]},{"url":"https://bugzilla.suse.com/1052708","tags":["report"]},{"url":"https://bugzilla.suse.com/1052717","tags":["report"]},{"url":"https://bugzilla.suse.com/1052721","tags":["report"]},{"url":"https://bugzilla.suse.com/1052768","tags":["report"]},{"url":"https://bugzilla.suse.com/1052777","tags":["report"]},{"url":"https://bugzilla.suse.com/1052781","tags":["report"]},{"url":"https://bugzilla.suse.com/1054600","tags":["report"]},{"url":"https://bugzilla.suse.com/1055068","tags":["report"]},{"url":"https://bugzilla.suse.com/1055374","tags":["report"]},{"url":"https://bugzilla.suse.com/1055455","tags":["report"]},{"url":"https://bugzilla.suse.com/1055456","tags":["report"]},{"url":"https://bugzilla.suse.com/1057000","tags":["report"]},{"url":"https://bugzilla.suse.com/1060162","tags":["report"]},{"url":"https://bugzilla.suse.com/1062752","tags":["report"]},{"url":"https://bugzilla.suse.com/1072362","tags":["report"]},{"url":"https://bugzilla.suse.com/1072901","tags":["report"]},{"url":"https://bugzilla.suse.com/1074120","tags":["report"]},{"url":"https://bugzilla.suse.com/1074125","tags":["report"]},{"url":"https://bugzilla.suse.com/1074185","tags":["report"]},{"url":"https://bugzilla.suse.com/1074309","tags":["report"]},{"url":"https://bugzilla.suse.com/1075939","tags":["report"]},{"url":"https://bugzilla.suse.com/1076021","tags":["report"]},{"url":"https://bugzilla.suse.com/1076051","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-10995","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11505","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11525","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11526","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11539","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11639","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11750","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12565","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12640","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12641","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12643","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12671","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12673","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12676","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12935","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13059","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13141","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13142","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13147","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14103","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14649","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15218","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17504","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17681","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17879","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17884","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17914","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18008","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18027","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18029","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9261","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9262","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5246","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5685","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180350-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180413-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1047910","tags":["report"]},{"url":"https://bugzilla.suse.com/1055038","tags":["report"]},{"url":"https://bugzilla.suse.com/1067198","tags":["report"]},{"url":"https://bugzilla.suse.com/1073690","tags":["report"]},{"url":"https://bugzilla.suse.com/1074023","tags":["report"]},{"url":"https://bugzilla.suse.com/1074175","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2014-9811","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11102","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13065","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14174","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15238","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16669","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17501","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17782","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17915","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8352","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-5685","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5974-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5685","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-9018","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20184","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20189","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11006","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-12672","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2022-1270","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:00:00Z","modified":"2024-08-05T05:40:51.157Z","updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-17454","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:00:00Z","modified":"2024-08-05T05:40:51Z","updated_at":"2026-11-03T02:40:10.116776Z"}],"ghsa":[{"id":"GHSA-3r44-xhxh-qh7x","title":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage...","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2022-05-13T01:52:53Z","modified":"2023-02-02T05:02:07Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:51:21.790702Z"}],"nvd":[{"id":"CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:29:05.167Z","modified":"2026-06-17T02:00:35.61Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"ALPINE-CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:29:05.167Z","modified":"2026-11-03T06:31:23.157041315Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:29:05.167Z","modified":"2026-03-15T22:26:17.570542Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:29:05.167Z","modified":"2026-10-23T18:03:22.12636585Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-5685","description":"In GraphicsMagick 1.3.27, there is an infinite loop and application hang in the ReadBMPImage function (coders/bmp.c). Remote attackers could leverage this vulnerability to cause a denial of service via an image file with a crafted bit-field mask value.","status":"published","published":"2018-01-14T02:29:00Z","modified":"2026-04-22T11:59:28.064134Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DLA-1245-1","title":"graphicsmagick - security update","status":"published","published":"2018-01-15T00:00:00Z","modified":"2026-03-09T01:01:09.538173Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-1456-1","title":"graphicsmagick - security update","status":"published","published":"2018-08-02T00:00:00Z","modified":"2026-03-09T01:01:52.904399Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4321-1","title":"graphicsmagick - security update","status":"published","published":"2018-10-16T00:00:00Z","modified":"2026-03-09T02:11:06.805314Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"SUSE-SU-2018:0349-1","title":"Security update for ImageMagick","description":"This update for ImageMagick fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2017-18027: Prevent memory leak vulnerability in the function\n  ReadMATImage which allowed remote attackers to cause a denial of service via a\n  crafted file (bsc#1076051)\n- CVE-2017-18029: Prevent memory leak in the function ReadMATImage which\n  allowed remote attackers to cause a denial of service via a crafted file\n  (bsc#1076021)\n- CVE-2017-17681: Prevent infinite loop in the function ReadPSDChannelZip in\n  coders/psd.c, which allowed attackers to cause a denial of service (CPU\n  exhaustion) via a crafted psd image file (bsc#1072901).\n- CVE-2017-18008: Prevent memory Leak in ReadPWPImage which allowed attackers\n  to cause a denial of service via a PWP file (bsc#1074309).\n- CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage\n  function. Remote attackers could leverage this vulnerability to cause a denial\n  of service via an image file with a crafted bit-field mask value (bsc#1075939)\n- CVE-2017-11639: Prevent heap-based buffer over-read in the WriteCIPImage()\n  function, related to the GetPixelLuma function in MagickCore/pixel-accessor.h\n  (bsc#1050635)\n- CVE-2017-11525: Prevent memory consumption in the ReadCINImage function that\n  allowed remote attackers to cause a denial of service (bsc#1050098)\n- CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to\n  cause a denial of service (memory leak) via a crafted file (bsc#1043353).\n- CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed attackers to\n  cause a denial of service (memory leak) via a crafted file (bsc#1043354).\n- CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote\n  attackers to cause a denial of service (heap-based buffer over-read and\n  application crash) via a crafted MNG image (bsc#1047908).\n- CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in\n  coders/png.c (bsc#1050037).\n- CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via a\n  crafted file (bsc#1050072).\n- CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via a\n  crafted file (bsc#1050100).\n- CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1051442).\n- CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052470).\n- CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052708).\n- CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052717).\n- CVE-2017-12671: Added NULL assignment in coders/png.c to prevent an invalid\n  free in the function RelinquishMagickMemory in MagickCore/memory.c, which\n  allowed attackers to cause a denial of service (bsc#1052721).\n- CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage\n  in coders\\png.c (bsc#1052768).\n- CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in\n  coders\\png.c (bsc#1052777).\n- CVE-2017-12640: Prevent an out-of-bounds read vulnerability in\n  ReadOneMNGImage in coders/png.c (bsc#1052781).\n- CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large\n  MNG images, leading to an invalid memory read in the SetImageColorCallBack\n  function in magick/image.c (bsc#1054600).\n- CVE-2017-13059: Prevent memory leak in the function WriteOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (WriteJNGImage memory consumption) via a crafted file (bsc#1055068).\n- CVE-2017-13147: Prevent allocation failure in the function ReadMNGImage in\n  coders/png.c when a small MNG file has a MEND chunk with a large length value\n  (bsc#1055374).\n- CVE-2017-13142: Added additional checks for short files to prevent a crafted\n  PNG file from triggering a crash (bsc#1055455).\n- CVE-2017-13141: Prevent memory leak in ReadOnePNGImage in coders/png.c\n  (bsc#1055456).\n- CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in\n  coders/png.c did not properly manage image pointers after certain error\n  conditions, which allowed remote attackers to conduct use-after-free attacks\n  via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call\n  (bsc#1057000).\n- CVE-2017-14649: ReadOneJNGImage in coders/png.c did not properly validate JNG\n  data, leading to a denial of service (assertion failure in\n  magick/pixel_cache.c, and application crash) (bsc#1060162).\n- CVE-2017-15218: Prevent memory leak in ReadOneJNGImage in coders/png.c\n  (bsc#1062752).\n- CVE-2017-17504: Prevent heap-based buffer over-read via a crafted file in\n  Magick_png_read_raw_profile, related to ReadOneMNGImage (bsc#1072362).\n- CVE-2017-17884: Prevent memory leak in the function WriteOnePNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service via a\n  crafted PNG image file (bsc#1074120).\n- CVE-2017-17879: Prevent heap-based buffer over-read in ReadOneMNGImage in\n  coders/png.c, related to length calculation and caused by an off-by-one error\n  (bsc#1074125).\n- CVE-2017-17914: Prevent crafted files to cause a large loop in\n  ReadOneMNGImage (bsc#1074185).\n","status":"published","published":"2018-02-02T09:41:01Z","modified":"2026-02-04T04:34:21.326357Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0350-1","title":"Security update for ImageMagick","description":"This update for ImageMagick fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage\n  function. Remote attackers could leverage this vulnerability to cause a denial\n  of service via an image file with a crafted bit-field mask value (bsc#1075939)\n- CVE-2017-11639: Prevent heap-based buffer over-read in the WriteCIPImage()\n  function, related to the GetPixelLuma function in MagickCore/pixel-accessor.h\n  (bsc#1050635).\n- CVE-2017-11525: Prevent memory consumption in the ReadCINImage function that\n  allowed remote attackers to cause a denial of service (bsc#1050098).\n- CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to\n  cause a denial of service (memory leak) via a crafted file (bsc#1043353)\n- CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed\n  attackers to cause a denial of service (memory leak) via a crafted file (bsc#1043354)\n- CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote\n  attackers to cause a denial of service (heap-based buffer over-read and\n  application crash) via a crafted MNG image (bsc#1047908)\n- CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in\n  coders/png.c (bsc#1050037)\n- CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via\n  a crafted file (bsc#1050072)\n- CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via a\n  crafted file (bsc#1050100)\n- CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1051442)\n- CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service (bsc#1052470)\n- CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service (bsc#1052708)\n- CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service (bsc#1052717)\n- CVE-2017-12671: Added NULL assignment in coders/png.c to prevent an invalid\n  free in the function RelinquishMagickMemory in MagickCore/memory.c, which\n  allowed attackers to cause a denial of service (bsc#1052721)\n- CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage\n  in coders\\png.c (bsc#1052768)\n- CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in\n  coders\\png.c (bsc#1052777)\n- CVE-2017-12640: Prevent an out-of-bounds read vulnerability in\n  ReadOneMNGImage in coders/png.c (bsc#1052781)\n- CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large\n  MNG images, leading to an invalid memory read in the SetImageColorCallBack\n  function in magick/image.c (bsc#1054600)\n- CVE-2017-13147: Prevent allocation failure in the function ReadMNGImage in\n  coders/png.c when a small MNG file has a MEND chunk with a large length value\n  (bsc#1055374)\n- CVE-2017-13142: Added additional checks for short files to prevent a crafted\n  PNG file from triggering a crash (bsc#1055455)\n- CVE-2017-13141: Prevent memory leak in ReadOnePNGImage in coders/png.c\n  (bsc#1055456)\n- CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in\n  coders/png.c did not properly manage image pointers after certain error\n  conditions, which allowed remote attackers to conduct use-after-free attacks\n  via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call\n  (bsc#1057000)\n- CVE-2017-14649: ReadOneJNGImage in coders/png.c did not properly validate JNG\n  data, leading to a denial of service (assertion failure in\n  magick/pixel_cache.c, and application crash) (bsc#1060162)\n- CVE-2017-15218: Prevent memory leak in ReadOneJNGImage in coders/png.c\n  (bsc#1062752)\n- CVE-2017-17504: Prevent heap-based buffer over-read via a crafted file in\n  Magick_png_read_raw_profile, related to ReadOneMNGImage (bsc#1072362)\n- CVE-2017-17879: Prevent heap-based buffer over-read in ReadOneMNGImage in\n  coders/png.c, related to length calculation and caused by an off-by-one error\n  (bsc#1074125)\n- CVE-2017-17914: Prevent crafted files to cause a large loop in\n  ReadOneMNGImage (bsc#1074185)\n- CVE-2017-17884: Prevent memory leak in the function WriteOnePNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service via a\n  crafted PNG image file (bsc#1074120)\n- Prevent memory leak in svg.c, which allowed attackers to cause a denial of\n  service via a crafted SVG image file (bsc#1074120)\n- Prevent small memory leak when processing PWP image files (bsc#1074309)\n- CVE-2017-18029: Prevent memory leak in the function ReadMATImage which allowed\n  remote attackers to cause a denial of service via a crafted file (bsc#1076021)\n- CVE-2017-18027: Prevent memory leak vulnerability in the function\n  ReadMATImage which allowed remote attackers to cause a denial of service via a\n  crafted file (bsc#1076051)\n\n","status":"published","published":"2018-02-02T10:38:29Z","modified":"2025-05-02T04:06:07.183409Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:0413-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2017-13065: Prevent NULL pointer dereference in the function SVGStartElement\n  (bsc#1055038).\n- CVE-2018-5685: Prevent infinite loop and application hang in the ReadBMPImage\n  function. Remote attackers could leverage this vulnerability to cause a denial\n  of service via an image file with a crafted bit-field mask value (bsc#1075939).\n- CVE-2017-9262: The ReadJNGImage function in coders/png.c allowed attackers to\n  cause a denial of service (memory leak) via a crafted file (bsc#1043353)\n- CVE-2017-9261: The ReadMNGImage function in coders/png.c allowed attackers to\n  cause a denial of service (memory leak) via a crafted file (bsc#1043354)\n- CVE-2017-10995: The mng_get_long function in coders/png.c allowed remote\n  attackers to cause a denial of service (heap-based buffer over-read and\n  application crash) via a crafted MNG image (bsc#1047908)\n- CVE-2017-11102: The ReadOneJNGImage function allowed remote attackers to\n  cause a denial of service (application crash) during JNG reading via a\n  zero-length color_image data structure (bsc#1047910).\n- CVE-2017-11539: Prevent memory leak in the ReadOnePNGImage() function in\n  coders/png.c (bsc#1050037)\n- CVE-2017-11505: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via a\n  crafted file (bsc#1050072)\n- CVE-2017-11526: The ReadOneMNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (large loop and CPU consumption) via a\n  crafted file (bsc#1050100)\n- CVE-2017-11750: The ReadOneJNGImage function in coders/png.c allowed remote\n  attackers to cause a denial of service (NULL pointer dereference) via a crafted\n  file (bsc#1051442)\n- CVE-2017-12565: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052470)\n- CVE-2017-12676: Prevent memory leak in the function ReadOneJNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052708)\n- CVE-2017-12673: Prevent memory leak in the function ReadOneMNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service\n  (bsc#1052717)\n- CVE-2017-12643: Prevent a memory exhaustion vulnerability in ReadOneJNGImage\n  in coders\\png.c (bsc#1052768)\n- CVE-2017-12641: Prevent a memory leak vulnerability in ReadOneJNGImage in\n  coders\\png.c (bsc#1052777)\n- CVE-2017-12640: Prevent an out-of-bounds read vulnerability in\n  ReadOneMNGImage in coders/png.c (bsc#1052781)\n- CVE-2017-12935: The ReadMNGImage function in coders/png.c mishandled large\n  MNG images, leading to an invalid memory read in the SetImageColorCallBack\n  function in magick/image.c (bsc#1054600)\n- CVE-2017-13147: Prevent allocation failure in the function ReadMNGImage in\n  coders/png.c when a small MNG file has a MEND chunk with a large length value\n  (bsc#1055374)\n- CVE-2017-13142: Added additional checks for short files to prevent a crafted\n  PNG file from triggering a crash (bsc#1055455)\n- CVE-2017-13141: Prevent memory leak in ReadOnePNGImage in coders/png.c\n  (bsc#1055456)\n- CVE-2017-14103: The ReadJNGImage and ReadOneJNGImage functions in\n  coders/png.c did not properly manage image pointers after certain error\n  conditions, which allowed remote attackers to conduct use-after-free attacks\n  via a crafted file, related to a ReadMNGImage out-of-order CloseBlob call\n  (bsc#1057000)\n- CVE-2017-14649: ReadOneJNGImage in coders/png.c did not properly validate JNG\n  data, leading to a denial of service (assertion failure in\n  magick/pixel_cache.c, and application crash) (bsc#1060162)\n- CVE-2017-15218: Prevent memory leak in ReadOneJNGImage in coders/png.c\n  (bsc#1062752)\n- CVE-2017-15238: ReadOneJNGImage had a use-after-free issue when the height or\n  width is zero, related to ReadJNGImage (bsc#1067198).\n- CVE-2017-17782: Prevent heap-based buffer over-read in ReadOneJNGImage\n  related to oFFs chunk allocation (bsc#1073690).\n- CVE-2017-17501: WriteOnePNGImage had a heap-based buffer over-read that could\n  be triggered via a crafted file (bsc#1074023).\n- CVE-2017-17884: Prevent memory leak in the function WriteOnePNGImage in\n  coders/png.c, which allowed attackers to cause a denial of service via a\n  crafted PNG image file (bsc#1074120)\n- CVE-2017-17879: Prevent heap-based buffer over-read in ReadOneMNGImage in\n  coders/png.c, related to length calculation and caused by an off-by-one error\n  (bsc#1074125)\n- CVE-2017-17915: Prevent heap-based buffer over-read in ReadMNGImage when\n  accessing one byte testing whether a limit has been reached (bsc#1074175).\n","status":"published","published":"2018-02-09T14:54:21Z","modified":"2026-02-04T02:37:48.167723Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"USN-5974-1","title":"graphicsmagick vulnerabilities","description":"It was discovered that GraphicsMagick was not properly performing bounds\nchecks when processing TGA image files, which could lead to a heap buffer\noverflow. If a user or automated system were tricked into processing a\nspecially crafted TGA image file, an attacker could possibly use this\nissue to cause a denial of service or execute arbitrary code. This issue\nonly affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-20184)\n\nIt was discovered that GraphicsMagick was not properly validating bits per\npixel data when processing DIB image files. If a user or automated system\nwere tricked into processing a specially crafted DIB image file, an\nattacker could possibly use this issue to cause a denial of service. This\nissue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n(CVE-2018-20189)\n\nIt was discovered that GraphicsMagick was not properly processing\nbit-field mask values in BMP image files, which could result in the\nexecution of an infinite loop. If a user or automated system were tricked\ninto processing a specially crafted BMP image file, an attacker could\npossibly use this issue to cause a denial of service. This issue only\naffected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-5685)\n\nIt was discovered that GraphicsMagick was not properly validating data\nused in arithmetic operations when processing MNG image files, which\ncould result in a divide-by-zero error. If a user or automated system were\ntricked into processing a specially crafted MNG image file, an attacker\ncould possibly use this issue to cause a denial of service. This issue\nonly affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2018-9018)\n\nIt was discovered that GraphicsMagick was not properly performing bounds\nchecks when processing MIFF image files, which could lead to a heap buffer\noverflow. If a user or automated system were tricked into processing a\nspecially crafted MIFF image file, an attacker could possibly use this\nissue to cause a denial of service or expose sensitive information. This\nissue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n(CVE-2019-11006)\n\nIt was discovered that GraphicsMagick did not properly magnify certain\nMNG image files, which could lead to a heap buffer overflow. If a user or\nautomated system were tricked into processing a specially crafted MNG\nimage file, an attacker could possibly use this issue to cause a denial\nof service or execute arbitrary code. This issue only affected Ubuntu\n20.04 LTS. (CVE-2020-12672)\n\nIt was discovered that GraphicsMagick was not properly performing bounds\nchecks when parsing certain MIFF image files, which could lead to a heap\nbuffer overflow. If a user or automated system were tricked into\nprocessing a specially crafted MIFF image file, an attacker could possibly\nuse this issue to cause a denial of service or execute arbitrary code.\n(CVE-2022-1270)\n","status":"published","published":"2023-03-27T16:40:44Z","modified":"2026-06-29T13:50:50.774034897Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
