{"id":"CVE-2017-11140","aliases":["DEBIAN-CVE-2017-11140","DLA-1045-1","DLA-1456-1","DSA-4321-1","EUVD-2017-2775","GHSA-4922-82mh-7xp2","SUSE-SU-2018:0524-1","UBUNTU-CVE-2017-11140","USN-4206-1"],"status":"published","title":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before...","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/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.01823,"percentile":0.78926,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400","CWE-755"],"published":"2017-07-10T03:00:00Z","modified":"2026-09-01T20:03:41Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.26-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.26-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.26-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","fixed_in":["1.3.18-1ubuntu3.1+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","fixed_in":["1.3.23-1ubuntu0.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.26-3"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.16-1.1+deb7u8"}]}],"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"],"bundled":10},{"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.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+esm2"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.23-1ubuntu0.2"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1"],"bundled":10}],"products":[{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/b4139088b49a","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"http://www.securityfocus.com/bid/99503","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","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4206-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-11140"},{"url":"https://usn.ubuntu.com/4206-1"},{"url":"https://github.com/advisories/GHSA-4922-82mh-7xp2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-11140","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-11140","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4206-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-11140","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6335","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10794","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-10799","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11102","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11403","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11636","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-11637","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-13147","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-14042","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-11140","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:00:00Z","modified":"2024-08-05T17:57:57.679Z","updated_at":"2026-11-02T14:33:20.171335Z"}],"euvd":[{"id":"EUVD-2017-2775","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:00:00Z","modified":"2024-08-05T17:57:57Z","updated_at":"2026-11-03T02:23:24.743229Z"}],"ghsa":[{"id":"GHSA-4922-82mh-7xp2","title":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before...","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2022-05-13T01:42:09Z","modified":"2025-04-20T03:41:32Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:01:49.006624Z"}],"nvd":[{"id":"CVE-2017-11140","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:29:00.317Z","modified":"2026-06-17T01:01:17.447Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/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-400","CWE-755"],"updated_at":"2026-11-02T14:03:54.012105Z"}],"osv":[{"id":"CVE-2017-11140","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:29:00.317Z","modified":"2026-03-14T09:23:48.063554Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"DEBIAN-CVE-2017-11140","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:29:00.317Z","modified":"2026-09-01T20:03:41.062212259Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/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-11140","description":"The ReadJPEGImage function in coders/jpeg.c in GraphicsMagick 1.3.26 creates a pixel cache before a successful read of a scanline, which allows remote attackers to cause a denial of service (resource consumption) via crafted JPEG files.","status":"published","published":"2017-07-10T03:29:00Z","modified":"2026-04-22T11:10:52.607269Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"DLA-1045-1","title":"graphicsmagick - security update","status":"published","published":"2017-07-30T00:00:00Z","modified":"2026-03-09T01:01:28.348208Z","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: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-4206-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.\n(CVE-2017-10794, CVE-2017-10799, CVE-2017-11102, CVE-2017-11140,\nCVE-2017-11403, CVE-2017-11636, CVE-2017-11637, CVE-2017-13147, CVE-2017-14042,\nCVE-2017-6335)\n","status":"published","published":"2019-12-02T19:46:55Z","modified":"2026-04-22T09:49:57.168654Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
