{"schemaVersion":3,"id":"CVE-2017-16547","aliases":["UBUNTU-CVE-2017-16547","DEBIAN-CVE-2017-16547"],"status":"published","duplicateOf":null,"title":null,"description":"The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.","dates":{"published":"2017-11-06T05:00:00.000Z","modified":"2024-08-05T20:27:04.219Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02333,"percentile":0.83302,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02333},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02427,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02333,"percentile":0.83302}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02427,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02333,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02333,"percentile":0.83302}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"graphicsmagick","name":"graphicsmagick","label":"graphicsmagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/graphicsmagick","purlType":"deb","versions":[{"text":"< 1.3.26-18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.26-18","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"graphicsmagick","name":"graphicsmagick","label":"graphicsmagick","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/graphicsmagick","purlType":"deb","versions":[{"text":"< 1.3.18-1ubuntu3.1+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 1.3.23-1ubuntu0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.18-1ubuntu3.1+esm5 | < 1.3.23-1ubuntu0.5","eol":null,"hubHref":null},{"vendor":"graphicsmagick","product":"graphicsmagick","name":"graphicsmagick","label":"graphicsmagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.3.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.3.26","eol":null,"hubHref":"/vendor/graphicsmagick/graphicsmagick"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2017/11/msg00016.html","label":"lists.debian.org/debian-lts-announce/2017/11/msg00016.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"http://hg.code.sf.net/p/graphicsmagick/code/rev/785758bbbfcc","label":"hg.code.sf.net/p/graphicsmagick/code/rev/785758bbbfcc","hostname":"hg.code.sf.net","tags":["X Refsource CONFIRM","Patch","Third Party Advisory","Vendor Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4321","label":"www.debian.org/security/2018/dsa-4321","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/517/","label":"sourceforge.net/p/graphicsmagick/bugs/517/","hostname":"sourceforge.net","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html","label":"lists.debian.org/debian-lts-announce/2018/08/msg00002.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://usn.ubuntu.com/4248-1/","label":"usn.ubuntu.com/4248-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://ubuntu.com/security/CVE-2017-16547","label":"ubuntu.com/security/CVE-2017-16547","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4248-1","label":"ubuntu.com/security/notices/USN-4248-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16547","label":"www.cve.org/CVERecord?id=CVE-2017-16547","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-16547","label":"security-tracker.debian.org/tracker/CVE-2017-16547","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1170-1","DLA-1456-1","DSA-4321-1","SUSE-SU-2018:0197-1","USN-4248-1"],"duplicates":[],"related":["SUSE-SU-2018:0197-1","USN-4248-1"]},"timeline":[{"kind":"published","date":"2017-11-06T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T20:27:04.219Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:50:34.315Z","stale":false,"partial":false}}