{"id":"CVE-2017-17502","aliases":["DEBIAN-CVE-2017-17502","DLA-1231-1","DLA-1401-1","DSA-4321-1","EUVD-2017-8663","GHSA-qh4q-mw4m-wfj6","SUSE-SU-2018:0524-1","UBUNTU-CVE-2017-17502","USN-4248-1"],"status":"published","title":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c...","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","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.01919,"percentile":0.80034,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-12-11T02:00:00Z","modified":"2026-09-01T20:03:45Z","fixes":[{"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+esm5"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.5"],"sources":["osv"]}],"affected":[{"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":"Debian:7","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.16-1.1+deb7u16"}]}],"versions":["1.3.16-1.1","1.3.16-1.1+deb7u1","1.3.16-1.1+deb7u10","1.3.16-1.1+deb7u11","1.3.16-1.1+deb7u12","1.3.16-1.1+deb7u13","1.3.16-1.1+deb7u14","1.3.16-1.1+deb7u15","1.3.16-1.1+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":8},{"source":"osv","ecosystem":"Debian:8","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-3+deb8u3"}]}],"versions":["1.3.20-3+deb8u1","1.3.20-3+deb8u2"],"bundled":27},{"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 Software Development Kit 11 SP4","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.38.1"}]}],"bundled":20},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.38.1"}]}],"bundled":20},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-1ubuntu3.1+esm5"}]}],"versions":["1.3.16-1.1ubuntu2","1.3.16-1.1ubuntu3","1.3.18-1ubuntu3","1.3.18-1ubuntu3.1","1.3.18-1ubuntu3.1+esm1","1.3.18-1ubuntu3.1+esm2","1.3.18-1ubuntu3.1+esm3","1.3.18-1ubuntu3.1+esm4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.5"}]}],"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","1.3.23-1ubuntu0.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.5"}]}],"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","1.3.23-1ubuntu0.4"],"bundled":10}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://sourceforge.net/p/graphicsmagick/bugs/521/","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","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/06/msg00009.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/a9c425688397","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00005.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/4248-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17502"},{"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/521"},{"url":"https://usn.ubuntu.com/4248-1"},{"url":"https://github.com/advisories/GHSA-qh4q-mw4m-wfj6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17502","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180524-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1042824","tags":["report"]},{"url":"https://bugzilla.suse.com/1047900","tags":["report"]},{"url":"https://bugzilla.suse.com/1049374","tags":["report"]},{"url":"https://bugzilla.suse.com/1049375","tags":["report"]},{"url":"https://bugzilla.suse.com/1050617","tags":["report"]},{"url":"https://bugzilla.suse.com/1050669","tags":["report"]},{"url":"https://bugzilla.suse.com/1052248","tags":["report"]},{"url":"https://bugzilla.suse.com/1052251","tags":["report"]},{"url":"https://bugzilla.suse.com/1052254","tags":["report"]},{"url":"https://bugzilla.suse.com/1052472","tags":["report"]},{"url":"https://bugzilla.suse.com/1052688","tags":["report"]},{"url":"https://bugzilla.suse.com/1055069","tags":["report"]},{"url":"https://bugzilla.suse.com/1055229","tags":["report"]},{"url":"https://bugzilla.suse.com/1058009","tags":["report"]},{"url":"https://bugzilla.suse.com/1072934","tags":["report"]},{"url":"https://bugzilla.suse.com/1073081","tags":["report"]},{"url":"https://bugzilla.suse.com/1074307","tags":["report"]},{"url":"https://bugzilla.suse.com/1076182","tags":["report"]},{"url":"https://bugzilla.suse.com/1078433","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11140","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11448","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11450","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11637","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11638","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11642","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12427","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12429","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12432","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12566","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12668","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13058","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13131","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14224","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17502","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17503","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17912","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-18028","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9407","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6405","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-17502","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4248-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-17502","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16545","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16547","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-16669","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17498","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17500","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17501","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17503","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17782","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17783","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-17502","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:00:00Z","modified":"2024-08-05T20:51:31.846Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-8663","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:00:00Z","modified":"2024-08-05T20:51:31Z","updated_at":"2026-11-03T02:23:09.524502Z"}],"ghsa":[{"id":"GHSA-qh4q-mw4m-wfj6","title":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c...","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2022-05-14T00:57:19Z","modified":"2025-04-20T03:50:47Z","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:56.679657Z"}],"nvd":[{"id":"CVE-2017-17502","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:29:00.76Z","modified":"2026-06-17T01:10:52.93Z","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:04:10.156892Z"}],"osv":[{"id":"CVE-2017-17502","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:29:00.76Z","modified":"2026-03-15T14:26:53.151945Z","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.853379Z"},{"id":"DEBIAN-CVE-2017-17502","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:29:00.76Z","modified":"2026-09-01T20:03:45.637698077Z","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:29.100767Z"},{"id":"UBUNTU-CVE-2017-17502","description":"ReadCMYKImage in coders/cmyk.c in GraphicsMagick 1.3.26 has a magick/import.c ImportCMYKQuantumType heap-based buffer over-read via a crafted file.","status":"published","published":"2017-12-11T02:29:00Z","modified":"2026-04-22T11:20:22.905204Z","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.563448Z"},{"id":"DLA-1231-1","title":"graphicsmagick - security update","status":"published","published":"2018-01-07T00:00:00Z","modified":"2026-03-09T01:01:34.101787Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-1401-1","title":"graphicsmagick - security update","status":"published","published":"2018-06-27T00:00:00Z","modified":"2026-03-09T01:01:07.175701Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"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:0524-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes the following issues:\n\n- CVE-2017-9407: The ReadPALMImage function in palm.c allowed attackers to cause a denial of service (memory leak) via a crafted file.  (bsc#1042824)\n- CVE-2017-11140: coders/jpeg.c allowed remote attackers to cause a denial of service (application crash).  [boo#1047900]\n- CVE-2017-11448: The ReadJPEGImage function in coders/jpeg.c allowed remote attackers to obtain sensitive information from uninitialized memory locations via a crafted file.  (bsc#1049375)\n- CVE-2017-11450: A remote denial of service in coders/jpeg.c was fixed [boo#1049374]\n- CVE-2017-11637: A NULL pointer dereference in WritePCLImage() in coders/pcl.c was fixed which could lead to a crash (bsc#1050669)\n- CVE-2017-11638, CVE-2017-11642: A NULL pointer dereference in theWriteMAPImage() in coders/map.c was fixed which could lead to a crash (bsc#1050617)\n- CVE-2017-12427: ProcessMSLScript coders/msl.c allowed remote attackers to cause a DoS (bsc#1052248)\n- CVE-2017-12429: A memory exhaustion flaw in ReadMIFFImage in coders/miff.c was fixed, which allowed attackers to cause DoS (bsc#1052251)\n- CVE-2017-12432: A memory exhaustion vulnerability was found in the function ReadPCXImage in coders/pcx.c, which allowed attackers to cause a denial of service.  (bsc#1052254)\n- CVE-2017-12566: A memory leak in ReadMVGImage in coders/mvg.c, could have allowed attackers to cause DoS (bsc#1052472)\n- CVE-2017-12668: A memory leak vulnerability in WritePCXImage in coders/pcx.c. (bsc#1052688)\n- CVE-2017-13058: A memory leak vulnerability was found in the function WritePCXImage in coders/pcx.c, which allowed attackers to cause a denial of service via a crafted file.  (bsc#1055069)\n- CVE-2017-13131: A memory leak vulnerability was found in thefunction ReadMIFFImage in coders/miff.c, which allowed attackers tocause a denial of service (memory consumption in NewL (bsc#1055229)\n- CVE-2017-14224: A heap-based buffer overflow in WritePCXImage in coders/pcx.c  could lead to  denial of service or code execution. [boo#1058009]\n- CVE-2017-17502: ReadCMYKImage in ImportCMYKQuantumType had a heap-based buffer over-read via a crafted file.  [boo#1073081]\n- CVE-2017-17912: A heap-based buffer over-read in ReadNewsProfile in coders/tiff.c was fixed. [boo#1074307]\n- CVE-2017-18028: A memory exhaustion in the function ReadTIFFImage in coders/tiff.c was fixed. [boo#1076182]\n- CVE-2018-6405: In the ReadDCMImage function in coders/dcm.c, each redmap, greenmap, and bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a memory leak. This allowed remote attackers to cause a denial of service. (bsc#1078433)\n- CVE-2017-17503: A heap-based buffer overflow in the ReadGRAYImage was fixed (bsc#1072934)\n","status":"published","published":"2018-02-22T10:51:37Z","modified":"2026-02-04T04:36:20.284983Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"USN-4248-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-22T18:42:35Z","modified":"2026-04-22T10:02:49.785682Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
