{"id":"CVE-2017-13776","aliases":["DEBIAN-CVE-2017-13776","DLA-1082-1","DLA-1456-1","DSA-4321-1","EUVD-2017-5291","GHSA-v24p-hg93-gg45","SUSE-SU-2017:3435-1","UBUNTU-CVE-2017-13776","USN-4222-1"],"status":"published","title":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex...","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","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.0237,"percentile":0.83926,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-834"],"published":"2017-08-30T09:00:00Z","modified":"2026-09-01T20:02:53Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-8"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-8"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-8"],"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-8"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-8"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-8"}]}]},{"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":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.19.1"}]}],"bundled":14},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-4.78.19.1"}]}],"bundled":14},{"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":"http://openwall.com/lists/oss-security/2017/08/31/2","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","evidence"]},{"url":"http://www.securityfocus.com/bid/100574","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"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":"http://hg.code.sf.net/p/graphicsmagick/code/rev/233a720bfd5e","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"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-13776"},{"url":"https://usn.ubuntu.com/4222-1"},{"url":"https://github.com/advisories/GHSA-v24p-hg93-gg45"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-13776","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20173435-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1050632","tags":["report"]},{"url":"https://bugzilla.suse.com/1052450","tags":["report"]},{"url":"https://bugzilla.suse.com/1054757","tags":["report"]},{"url":"https://bugzilla.suse.com/1055214","tags":["report"]},{"url":"https://bugzilla.suse.com/1056426","tags":["report"]},{"url":"https://bugzilla.suse.com/1056429","tags":["report"]},{"url":"https://bugzilla.suse.com/1057508","tags":["report"]},{"url":"https://bugzilla.suse.com/1058485","tags":["report"]},{"url":"https://bugzilla.suse.com/1058637","tags":["report"]},{"url":"https://bugzilla.suse.com/1066003","tags":["report"]},{"url":"https://bugzilla.suse.com/1067181","tags":["report"]},{"url":"https://bugzilla.suse.com/1067184","tags":["report"]},{"url":"https://bugzilla.suse.com/1067409","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-7996","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-11640","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12587","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12983","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13134","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13776","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13777","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14165","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14341","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14342","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15930","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16545","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16546","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16669","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-13776","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4222-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-13776","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-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-13777","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-13776","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-05T19:05:20.402Z","updated_at":"2026-11-02T14:33:17.903346Z"}],"euvd":[{"id":"EUVD-2017-5291","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-05T19:05:20Z","updated_at":"2026-11-03T02:23:19.185271Z"}],"ghsa":[{"id":"GHSA-v24p-hg93-gg45","title":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex...","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2022-05-13T01:30:16Z","modified":"2025-04-20T03:45:15Z","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-834"],"updated_at":"2026-11-02T15:01:51.665447Z"}],"nvd":[{"id":"CVE-2017-13776","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:29:00.7Z","modified":"2026-06-17T01:05:09.453Z","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-834"],"updated_at":"2026-11-02T14:03:57.82609Z"}],"osv":[{"id":"CVE-2017-13776","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:29:00.7Z","modified":"2026-03-15T21:52:58.434634Z","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-13776","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:29:00.7Z","modified":"2026-09-01T20:02:53.299899431Z","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-13776","description":"GraphicsMagick 1.3.26 has a denial of service issue in ReadXBMImage() in a coders/xbm.c \"Read hex image data\" version!=10 case that results in the reader not returning; it would cause large amounts of CPU and memory consumption although the crafted file itself does not request it.","status":"published","published":"2017-08-30T09:29:00Z","modified":"2026-04-22T11:15:08.252211Z","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-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-2017:3435-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes the following issues:\n\n  * CVE-2017-11640: NULL pointer deref in WritePTIFImage() in coders/tiff.c could lead to denial of service [bsc#1050632]\n  * CVE-2017-14342: Memory exhaustion in ReadWPGImage in coders/wpg.c could lead to denial of service [bsc#1058485]\n  * CVE-2017-14341: Infinite loop in the ReadWPGImage function could lead to denial of service [bsc#1058637]\n  * CVE-2017-16546: Issue in ReadWPGImage function in coders/wpg.c could lead to denial of service [bsc#1067181]\n  * CVE-2017-16545: The ReadWPGImage function in coders/wpg.c in  validation problems could lead to denial of service [bsc#1067184]\n  * CVE-2017-16669: coders/wpg.c  allows remote attackers to cause a denial of service via crafted file [bsc#1067409]\n  * CVE-2017-13776: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056429]\n  * CVE-2017-13777: denial of service issue in ReadXBMImage() in a coders/xbm.c [bsc#1056426]\n  * CVE-2017-13134: heap-based buffer over-read in the function SFWScan in coders/sfw.c could lead to denial of service via a crafted file [bsc#1055214]\n  * CVE-2017-15930: Null Pointer dereference  while transfering JPEG scanlines could lead to denial of service [bsc#1066003]\n  * CVE-2017-12983: Heap-based buffer overflow in the ReadSFWImage function in coders/sfw.c allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted file. [bsc#1054757] \n  * CVE-2017-14165: The ReadSUNImage function in coders/sun.c has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c. [bsc#1057508]\n  * CVE-2017-12587: Large loop vulnerability in the ReadPWPImage function in coders\\pwp.c. [bsc#1052450]\n","status":"published","published":"2017-12-27T09:55:41Z","modified":"2026-02-04T03:49:29.331218Z","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"}]}}
