{"id":"CVE-2014-1947","aliases":["DEBIAN-CVE-2014-1947","DSA-2898-1","EUVD-2014-2001","GHSA-jfcr-jpxh-mcqv","MGASA-2014-0370"],"status":"published","title":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4...","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/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.07024,"percentile":0.94219,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-787"],"published":"2014-04-09T00:00:00Z","modified":"2026-10-23T16:00:21Z","exploits":[{"source":"exploitdb","id":"EDB-31688","title":"ImageMagick 6.8.8-4 - Local Buffer Overflow (SEH)","type":"local","platform":"windows","date":"2014-02-16","url":"https://www.exploit-db.com/exploits/31688"}],"fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.3.20-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.3.20-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.3.20-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"imagemagick","fixed_in":["8:6.7.7.10+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"imagemagick","fixed_in":["8:6.7.7.10+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"imagemagick","fixed_in":["8:6.7.7.10+dfsg-1"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"graphicsmagick","fixed_in":["1.3.17-2.3.mga3"],"sources":["osv"]},{"ecosystem":"Mageia:4","package":"graphicsmagick","fixed_in":["1.3.18-3.2.mga4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.6.0.4-3+squeeze4"}]}],"versions":["8:6.6.0.4-3","8:6.6.0.4-3+squeeze1","8:6.6.0.4-3+squeeze2","8:6.6.0.4-3+squeeze3"],"bundled":3},{"source":"osv","ecosystem":"Debian:7","package":"imagemagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8:6.7.7.10-5+deb7u3"}]}],"versions":["8:6.7.7.10-5","8:6.7.7.10-5+deb7u2"],"bundled":3},{"source":"osv","ecosystem":"Mageia:3","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.17-2.3.mga3"}]}]},{"source":"osv","ecosystem":"Mageia:4","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.18-3.2.mga4"}]}]}],"products":[{"vendor":"imagemagick","product":"imagemagick"},{"vendor":"suse","product":"linux_enterprise_desktop"},{"vendor":"suse","product":"linux_enterprise_server"},{"vendor":"suse","product":"linux_enterprise_software_development_kit"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2014/02/12/13","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2014/02/12/2","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","advisory","article","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2014/02/13/2","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2014/02/13/5","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"http://www.openwall.com/lists/oss-security/2014/02/19/13","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","advisory","article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1064098","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2014/suse-su-20140359-1.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-1947"},{"url":"https://github.com/advisories/GHSA-jfcr-jpxh-mcqv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2014-1947","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2014-0370.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=14014","tags":["report"]},{"url":"https://lists.fedoraproject.org/pipermail/package-announce/2014-August/137120.html","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2014-1947","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2020-02-17T20:56:17Z","modified":"2024-08-06T09:58:15.485Z","updated_at":"2026-11-02T14:33:46.310517Z"}],"euvd":[{"id":"EUVD-2014-2001","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2020-02-17T20:56:17Z","modified":"2024-08-06T09:58:15Z","updated_at":"2026-11-03T01:57:16.268492Z"}],"ghsa":[{"id":"GHSA-jfcr-jpxh-mcqv","title":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4...","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2022-05-17T19:57:29Z","modified":"2023-01-28T05:04:52Z","updated_at":"2026-11-02T14:44:15.556193Z"}],"nvd":[{"id":"CVE-2014-1947","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2020-02-17T21:15:12.57Z","modified":"2026-06-17T00:05:47.84Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/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-787"],"updated_at":"2026-11-02T14:02:59.461996Z"}],"osv":[{"id":"CVE-2014-1947","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2020-02-17T21:15:12Z","modified":"2026-04-16T06:26:00.788129284Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:59.361892Z"},{"id":"DEBIAN-CVE-2014-1947","description":"Stack-based buffer overflow in the WritePSDImage function in coders/psd.c in ImageMagick 6.5.4 and earlier allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a large number of layers in a PSD image, involving the L%02ld string, a different vulnerability than CVE-2014-2030.","status":"published","published":"2020-02-17T21:15:12.57Z","modified":"2026-10-23T16:00:21.60444332Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:26.134753Z"},{"id":"DSA-2898-1","title":"imagemagick - security update","status":"published","published":"2014-04-09T00:00:00Z","modified":"2026-03-09T01:20:15.670093Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"MGASA-2014-0370","title":"Updated graphicsmagick packages fix CVE-2014-1947","description":"Updated graphicsmagick packages fix security vulnerability:\n\nA buffer overflow flaw was found in the way GraphicsMagick writes PSD images\nwhen the input data has a large number of layers. Due to the compilation\noptions used in Mageia, the buffer overflow is reduced to a crash, making\nthis a denial of service issue (CVE-2014-1947).\n","status":"published","published":"2014-09-05T09:07:37Z","modified":"2026-04-16T06:25:38.048982368Z","updated_at":"2026-11-02T15:49:39.488462Z"}]}}
