{"id":"CVE-2017-13064","aliases":["DEBIAN-CVE-2017-13064","DLA-1082-1","DLA-1401-1","DSA-4321-1","EUVD-2017-4582","GHSA-825g-6jhf-wwfp","SUSE-SU-2017:3056-1","UBUNTU-CVE-2017-13064","USN-4222-1"],"status":"published","title":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function...","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","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.02274,"percentile":0.83189,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-08-22T06:00:00Z","modified":"2026-09-01T20:03:43Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-7"],"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-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-7"}]}]},{"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+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.16.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.16.1"}]}],"bundled":7},{"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://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":"https://sourceforge.net/p/graphicsmagick/bugs/436/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/54f48ab2d52a","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"http://www.securityfocus.com/bid/100474","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","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-13064"},{"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/436"},{"url":"https://usn.ubuntu.com/4222-1"},{"url":"https://github.com/advisories/GHSA-825g-6jhf-wwfp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13064","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20173056-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1050135","tags":["report"]},{"url":"https://bugzilla.suse.com/1054596","tags":["report"]},{"url":"https://bugzilla.suse.com/1054598","tags":["report"]},{"url":"https://bugzilla.suse.com/1055042","tags":["report"]},{"url":"https://bugzilla.suse.com/1055050","tags":["report"]},{"url":"https://bugzilla.suse.com/1055430","tags":["report"]},{"url":"https://bugzilla.suse.com/1061873","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11534","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12936","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12937","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13063","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13064","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13139","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15033","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-13064","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4222-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13064","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-12935","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-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-13064","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:00:00Z","modified":"2024-08-05T18:58:12.092Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-4582","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:00:00Z","modified":"2024-08-05T18:58:12Z","updated_at":"2026-11-03T02:23:19.724201Z"}],"ghsa":[{"id":"GHSA-825g-6jhf-wwfp","title":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function...","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2022-05-14T00:57:21Z","modified":"2025-04-20T03:44:48Z","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-119"],"updated_at":"2026-11-02T15:01:51.143792Z"}],"nvd":[{"id":"CVE-2017-13064","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:29:00.44Z","modified":"2026-06-17T01:04:27.973Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"CVE-2017-13064","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:29:00.44Z","modified":"2026-03-15T22:23:38.95805Z","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.159616Z"},{"id":"DEBIAN-CVE-2017-13064","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:29:00.44Z","modified":"2026-09-01T20:03:43.048663838Z","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.50097Z"},{"id":"UBUNTU-CVE-2017-13064","description":"GraphicsMagick 1.3.26 has a heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c:311:12.","status":"published","published":"2017-08-22T06:29:00Z","modified":"2026-04-22T11:14:28.941338Z","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.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-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-2017:3056-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes the following issues:\n\n- CVE-2017-15033: A denial of service attack (memory leak) in ReadYUVImage in coders/yuv.c was fixed (bsc#1061873)\n- CVE-2017-13063: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055050)\n- CVE-2017-13064: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055042)\n- CVE-2017-12936: The ReadWMFImage function in coders/wmf.c in GraphicsMagick had a use-after-free issue for data associated with exception reporting.  (bsc#1054598)\n- CVE-2017-13139: The ReadOneMNGImage function in coders/png.c had an out-of-bounds read with the MNG CLIP chunk.  (bsc#1055430)\n- CVE-2017-12937: The ReadSUNImage function in coders/sun.c in GraphicsMagick had a colormap heap-based buffer over-read.  (bsc#1054596)\n- CVE-2017-11534: A Memory Leak in the lite_font_map() function in coders/wmf.c was fixed (bsc#1050135)\n\n","status":"published","published":"2017-11-23T16:15:37Z","modified":"2026-02-04T03:28:06.280287Z","updated_at":"2026-11-02T15:53:44.209561Z"},{"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"}]}}
