{"id":"CVE-2017-14997","aliases":["DEBIAN-CVE-2017-14997","DLA-1130-1","DLA-1456-1","DSA-4321-1","EUVD-2017-6473","GHSA-f9r8-4r5p-xq44","SUSE-SU-2018:3465-1","SUSE-SU-2018:3808-1","SUSE-SU-2019:13923-1","UBUNTU-CVE-2017-14997","USN-4232-1"],"status":"published","title":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory...","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","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.0339,"percentile":0.88882,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-191"],"published":"2017-10-03T07:00:00Z","modified":"2026-09-01T20:03:44Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-13"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-13"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-13"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","fixed_in":["1.3.18-1ubuntu3.1+esm4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-13"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-13"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-13"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.16-1.1+deb7u10"}]}],"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","1.3.16-1.1+deb7u9"],"bundled":6},{"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 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.85.1"}]}],"bundled":2},{"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.85.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.85.1"}]}],"bundled":2},{"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.85.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.8.8.1-71.85.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.3.6-78.79.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"ImageMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.4.3.6-78.79.1"}]}],"bundled":4},{"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-78.79.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-78.78.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-78.78.1"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-1ubuntu3.1+esm4"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.4"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.4"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3"],"bundled":11}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset%3Bnode=0683f8724200","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://www.debian.org/security/2018/dsa-4321","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/101183","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/511/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"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://sourceforge.net/p/graphicsmagick/code/ci/0683f8724200495059606c03f04e0d589b33ebe8/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"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/4232-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-14997"},{"url":"http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=0683f8724200","tags":["report"]},{"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://sourceforge.net/p/graphicsmagick/bugs/511"},{"url":"https://sourceforge.net/p/graphicsmagick/code/ci/0683f8724200495059606c03f04e0d589b33ebe8"},{"url":"https://usn.ubuntu.com/4232-1"},{"url":"https://github.com/advisories/GHSA-f9r8-4r5p-xq44"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-14997","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183465-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1107609","tags":["report"]},{"url":"https://bugzilla.suse.com/1112399","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14997","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16644","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20183808-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1050129","tags":["report"]},{"url":"https://bugzilla.suse.com/1050635","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11532","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11639","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201913923-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1042911","tags":["report"]},{"url":"https://bugzilla.suse.com/1052754","tags":["report"]},{"url":"https://bugzilla.suse.com/1078433","tags":["report"]},{"url":"https://bugzilla.suse.com/1112392","tags":["report"]},{"url":"https://bugzilla.suse.com/1113064","tags":["report"]},{"url":"https://bugzilla.suse.com/1119822","tags":["report"]},{"url":"https://bugzilla.suse.com/1119823","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-10794","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12663","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9405","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18544","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20184","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20185","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6405","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-14997","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4232-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-14997","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14165","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14314","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14504","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14649","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14733","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14994","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-15277","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-15930","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16352","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16353","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-14997","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-03T07:00:00Z","modified":"2024-08-05T19:42:22.383Z","updated_at":"2026-11-02T14:33:11.928814Z"}],"euvd":[{"id":"EUVD-2017-6473","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-03T07:00:00Z","modified":"2024-08-05T19:42:22Z","updated_at":"2026-11-03T02:23:15.298105Z"}],"ghsa":[{"id":"GHSA-f9r8-4r5p-xq44","title":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory...","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2022-05-14T00:57:21Z","modified":"2025-04-20T03:47:20Z","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-191"],"updated_at":"2026-11-02T15:01:53.867735Z"}],"nvd":[{"id":"CVE-2017-14997","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-04T01:29:03.307Z","modified":"2026-06-17T01:07:07.25Z","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":7.1,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-191"],"updated_at":"2026-11-02T14:04:01.734197Z"}],"osv":[{"id":"CVE-2017-14997","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-04T01:29:03.307Z","modified":"2026-03-15T21:53:11.997436Z","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:04.572713Z"},{"id":"DEBIAN-CVE-2017-14997","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-04T01:29:03.307Z","modified":"2026-09-01T20:03:44.321714093Z","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:28.801885Z"},{"id":"UBUNTU-CVE-2017-14997","description":"GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.","status":"published","published":"2017-10-04T01:29:00Z","modified":"2026-04-22T11:17:11.800435Z","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:14.563448Z"},{"id":"DLA-1130-1","title":"graphicsmagick - security update","status":"published","published":"2017-10-10T00:00:00Z","modified":"2026-03-09T01:01:43.688305Z","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:3465-1","title":"Security update for ImageMagick","description":"This update for ImageMagick fixes the following issues:\n\n- CVE-2017-14997: GraphicsMagick allowed remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.  [bsc#1112399]\n- CVE-2018-16644: An regression in the security fix for the pict coder was fixed (bsc#1107609)\n\n","status":"published","published":"2018-10-25T15:11:09Z","modified":"2026-02-04T03:50:45.644318Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2018:3808-1","title":"Security update for ImageMagick","description":"This update for ImageMagick fixes the following issues:\n\n\n- CVE-2017-14997: ImageMagick allowed remote attackers to cause a denial of service (excessive memory allocation) because of an integer underflow in ReadPICTImage in coders/pict.c.  (bsc#1112399)\n- CVE-2018-16644: A regression in the security fix for the pict coder was fixed (bsc#1107609)\n- CVE-2017-11532: When ImageMagick processed a crafted file in convert, it could lead to a Memory Leak in the WriteMPCImage() function in coders/mpc.c. (bsc#1050129)\n- CVE-2017-11639: A regression in the security fix in the cip coder was fixed (bsc#1050635)\n\n","status":"published","published":"2018-11-19T10:29:35Z","modified":"2026-02-04T02:14:14.324301Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2019:13923-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-18544: Fixed memory leak in the function WriteMSLImage() (bsc#1113064).\n- CVE-2017-10794: Fixed buffer overflow in RGB TIFF picture processing (bsc#1112392).\n- CVE-2017-14997: Fixed integer underflow in ReadPICTImage in coders/pict.c (bsc#1112399).\n- CVE-2018-20185: Fixed heap-based buffer over-read in the ReadBMPImage function of bmp.c (bsc#1119823)\n- CVE-2018-20184: Fixed heap-based buffer overflow in the WriteTGAImage function of tga.c (bsc#1119822)\n\nRegressions fixed after security update:\n\n- CVE-2017-12663: Fixed memory leak in WriteMAPImage in coders/map.c (bsc#1052754).\n- CVE-2017-9405: Fixed memory leak in the ReadICONImage function (bsc#1042911).\n- CVE-2018-6405: Fixed ReadDCMImage function in coders/dcm (bsc#1078433).\n\nNon-security issues fixed:\n\n- debug_build: build more suitable for debugging\n","status":"published","published":"2019-01-03T16:32:29Z","modified":"2026-02-04T03:30:23.770569Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"USN-4232-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":"2020-01-08T17:42:19Z","modified":"2026-04-22T09:50:44.351671Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
