{"id":"CVE-2017-12935","aliases":["DEBIAN-CVE-2017-12935","DLA-1082-1","DLA-1456-1","DSA-4321-1","EUVD-2017-4459","GHSA-hch7-ph7x-q553","MGASA-2017-0297","SUSE-SU-2018:0349-1","SUSE-SU-2018:0350-1","SUSE-SU-2018:0413-1","UBUNTU-CVE-2017-12935","USN-4222-1"],"status":"published","title":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images,...","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","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.01875,"percentile":0.79549,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-08-18T12:00:00Z","modified":"2026-09-01T20:03:42Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-6"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","fixed_in":["1.3.18-1ubuntu3.1+esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-6"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.16-1.1+deb7u9"}]}],"versions":["1.3.16-1.1","1.3.16-1.1+deb7u1","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"],"bundled":8},{"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":"Mageia:5","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-1.2.mga5"}]}],"bundled":3},{"source":"osv","ecosystem":"Mageia:6","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-1.3.mga6"}]}],"bundled":3},{"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+esm3"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.3"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.3"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.2"],"bundled":15}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-invalid-memory-read-in-setimagecolorcallback-image-c/","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/cd699a44f188","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4222-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12935"},{"url":"https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-invalid-memory-read-in-setimagecolorcallback-image-c"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ"},{"url":"https://usn.ubuntu.com/4222-1"},{"url":"https://github.com/advisories/GHSA-hch7-ph7x-q553"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-12935","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0297.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21564","tags":["report"]},{"url":"http://openwall.com/lists/oss-security/2017/08/18/4","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/08/18/3","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2017/08/18/5","tags":["web"]},{"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-12935","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/08/18/4","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4222-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12935","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11638","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11641","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11642","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11643","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12936","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12937","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13063","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13064","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13065","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13134","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13737","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13775","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13776","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13777","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-12935","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:00:00Z","modified":"2024-08-05T18:51:07.35Z","updated_at":"2026-11-02T14:33:17.59533Z"}],"euvd":[{"id":"EUVD-2017-4459","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:00:00Z","modified":"2024-08-05T18:51:07Z","updated_at":"2026-11-03T02:23:20.155596Z"}],"ghsa":[{"id":"GHSA-hch7-ph7x-q553","title":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images,...","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2022-05-14T00:57:20Z","modified":"2025-04-20T03:43:15Z","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-125"],"updated_at":"2026-11-02T15:01:50.044707Z"}],"nvd":[{"id":"CVE-2017-12935","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:29:00.197Z","modified":"2026-06-17T01:04:10.087Z","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-125"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"CVE-2017-12935","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:29:00.197Z","modified":"2026-04-16T06:19:31.726034462Z","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-12935","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:29:00.197Z","modified":"2026-09-01T20:03:42.672785856Z","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.50097Z"},{"id":"UBUNTU-CVE-2017-12935","description":"The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.","status":"published","published":"2017-08-18T12:29:00Z","modified":"2026-04-22T11:13:47.878524Z","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":"DLA-1082-1","title":"graphicsmagick - security update","status":"published","published":"2017-08-31T00:00:00Z","modified":"2026-03-09T01:02:03.864953Z","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":"MGASA-2017-0297","title":"Updated graphicsmagick packages fix security vulnerability","description":"Invalid memory read in SetImageColorCallBack() in image.c\n(CVE-2017-12935).\n\nUse-after-free in ReadWMFImage() in wmf.c (CVE-2017-12936).\n\nHeap-based buffer overflow in ReadSUNImage() in sun.c (CVE-2017-12937).\n","status":"published","published":"2017-08-23T15:43:04Z","modified":"2026-04-16T06:25:19.410163572Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"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-4222-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 or other\nunspecified impact.\n","status":"published","published":"2019-12-16T16:37:05Z","modified":"2026-04-22T09:50:59.188399Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
