{"id":"CVE-2017-13147","aliases":["ALPINE-CVE-2017-13147","DEBIAN-CVE-2017-13147","EUVD-2017-4664","GHSA-c83v-95vq-jq7j","SUSE-SU-2018:0349-1","SUSE-SU-2018:0350-1","SUSE-SU-2018:0413-1","UBUNTU-CVE-2017-13147","USN-4206-1"],"status":"published","title":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function...","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01537,"percentile":0.7503,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-08-23T17:00:00Z","modified":"2026-11-03T06:30:02Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"graphicsmagick","fixed_in":["1.3.27-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.27-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.27-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.27-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","fixed_in":["1.3.18-1ubuntu3.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.27-1"}]}]},{"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+esm1"}]}],"versions":["1.3.16-1.1ubuntu2","1.3.16-1.1ubuntu3","1.3.18-1ubuntu3","1.3.18-1ubuntu3.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1"],"bundled":10}],"products":[{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://sourceforge.net/p/graphicsmagick/bugs/446/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://usn.ubuntu.com/4206-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-13147"},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/446"},{"url":"https://usn.ubuntu.com/4206-1"},{"url":"https://github.com/advisories/GHSA-c83v-95vq-jq7j"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-13147","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13147","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-2017-13147","tags":["report"]},{"url":"https://sourceforge.net/p/graphicsmagick/code/ci/f60b1eae2d1bafc8dc5dae0f378626aeb6273f1d/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4206-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13147","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6335","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10794","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10799","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11102","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11140","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11403","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11636","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11637","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14042","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:00:00Z","modified":"2024-08-05T18:58:12.399Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-4664","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:00:00Z","modified":"2024-08-05T18:58:12Z","updated_at":"2026-11-03T02:23:19.724201Z"}],"ghsa":[{"id":"GHSA-c83v-95vq-jq7j","title":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function...","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2022-05-13T01:30:24Z","modified":"2025-04-20T03:44:49Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:01:51.143792Z"}],"nvd":[{"id":"CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:29:00.257Z","modified":"2026-06-17T01:04:37.487Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"ALPINE-CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:29:00.257Z","modified":"2026-11-03T06:30:02.339625814Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T06:41:39.834803Z"},{"id":"CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:29:00.257Z","modified":"2026-03-14T09:24:21.743842Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"DEBIAN-CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:29:00.257Z","modified":"2026-09-01T20:03:43.20155787Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-13147","description":"In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.","status":"published","published":"2017-08-23T17:29:00Z","modified":"2026-04-22T11:14:40.021953Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"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-4206-1","title":"graphicsmagick vulnerabilities","description":"It was discovered that GraphicsMagick incorrectly handled certain image files.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2017-10794, CVE-2017-10799, CVE-2017-11102, CVE-2017-11140,\nCVE-2017-11403, CVE-2017-11636, CVE-2017-11637, CVE-2017-13147, CVE-2017-14042,\nCVE-2017-6335)\n","status":"published","published":"2019-12-02T19:46:55Z","modified":"2026-04-22T09:49:57.168654Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
