{"id":"CVE-2017-14165","aliases":["DEBIAN-CVE-2017-14165","EUVD-2017-5675","GHSA-97fh-x5h6-hgr2","SUSE-SU-2017:3435-1","UBUNTU-CVE-2017-14165","USN-4232-1"],"status":"published","title":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory...","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","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-08","score":0.02296,"percentile":0.83387,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-09-06T18:00:00Z","modified":"2026-09-01T20:02:40Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-9"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-9"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-9"],"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-9"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-9"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-9"}]}]},{"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+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":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"http://www.securityfocus.com/bid/100678","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"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-14165"},{"url":"https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2"},{"url":"https://usn.ubuntu.com/4232-1"},{"url":"https://github.com/advisories/GHSA-97fh-x5h6-hgr2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-14165","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-14165","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/09/06/4","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4232-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=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-14997","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-14165","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:00:00Z","modified":"2024-08-05T19:20:40.673Z","updated_at":"2026-11-02T14:33:11.928814Z"}],"euvd":[{"id":"EUVD-2017-5675","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:00:00Z","modified":"2024-08-05T19:20:40Z","updated_at":"2026-11-03T02:23:17.665061Z"}],"ghsa":[{"id":"GHSA-97fh-x5h6-hgr2","title":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory...","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2022-05-13T01:28:59Z","modified":"2025-04-20T03:45:24Z","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.665447Z"}],"nvd":[{"id":"CVE-2017-14165","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:29:00.24Z","modified":"2026-06-17T01:05:42.36Z","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:58.85945Z"}],"osv":[{"id":"CVE-2017-14165","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:29:00.24Z","modified":"2026-03-15T14:26:09.936583Z","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-14165","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:29:00.24Z","modified":"2026-09-01T20:02:40.605605089Z","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-14165","description":"The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 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.","status":"published","published":"2017-09-06T18:29:00Z","modified":"2026-04-22T11:15:56.383038Z","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":"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-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"}]}}
