{"schemaVersion":3,"id":"CVE-2017-5225","aliases":["ALPINE-CVE-2017-5225","SUSE-SU-2017:0453-1","UBUNTU-CVE-2017-5225","DEBIAN-CVE-2017-5225"],"status":"published","duplicateOf":null,"title":null,"description":"LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.","dates":{"published":"2017-01-12T11:00:00.000Z","modified":"2026-03-02T20:56:40.762Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/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 · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.04391,"percentile":0.91211,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.04391},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04391,"percentile":0.91211}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04249,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04391,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04391,"percentile":0.91211}]},"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":[{"id":"REF_FA6152B87C25DAD7","name":"Exploit Reference (bugzilla.maptools.org)","source":"reference","url":"http://bugzilla.maptools.org/show_bug.cgi?id=2656","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_5490BF3E7F1B0521","name":"Exploit Reference (bugzilla.maptools.org)","source":"reference","url":"http://bugzilla.maptools.org/show_bug.cgi?id=2657","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"alpine","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/tiff","purlType":"apk","versions":[{"text":"< 4.0.7-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tiff","purlType":"deb","versions":[{"text":"< 4.0.7-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tiff","purlType":"deb","versions":[{"text":"< 4.0.3-7ubuntu0.6","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.3-7ubuntu0.6 | < 4.0.6-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"libtiff","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0.7","eol":null,"hubHref":"/vendor/libtiff/libtiff"},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Desktop 12 SP1","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Desktop 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Desktop 12 SP1","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Desktop 12 SP2","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Desktop 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Desktop 12 SP2","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Server 12 SP1","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Server 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Server 12 SP1","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Server 12 SP2","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Server 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Server 12 SP2","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Server for Raspberry Pi 12 SP2","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP1","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP2","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP1","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null},{"vendor":"suse","product":"tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","name":"tiff","label":"tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/tiff&distro=SUSE Linux Enterprise Software Development Kit 12 SP2","purlType":"rpm","versions":[{"text":"< 4.0.7-40.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.7-40.1","eol":null,"hubHref":null}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.debian.org/security/2017/dsa-3844","label":"www.debian.org/security/2017/dsa-3844","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN"]},{"url":"https://security.gentoo.org/glsa/201709-27","label":"security.gentoo.org/glsa/201709-27","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2656","label":"bugzilla.maptools.org/show_bug.cgi?id=2656","hostname":"bugzilla.maptools.org","tags":["X Refsource CONFIRM","Exploit","Issue Tracking"]},{"url":"http://bugzilla.maptools.org/show_bug.cgi?id=2657","label":"bugzilla.maptools.org/show_bug.cgi?id=2657","hostname":"bugzilla.maptools.org","tags":["X Refsource CONFIRM","Exploit","Issue Tracking"]},{"url":"http://www.securitytracker.com/id/1037911","label":"www.securitytracker.com/id/1037911","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://www.securityfocus.com/bid/95413","label":"www.securityfocus.com/bid/95413","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://github.com/vadz/libtiff/commit/5c080298d59efa53264d7248bbe3a04660db6ef7","label":"github.com/vadz/libtiff/commit/5c080298d59efa53264d7248bbe3a04660db6ef7","hostname":"github.com","tags":["X Refsource CONFIRM","Patch"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-5225","label":"security.alpinelinux.org/vuln/CVE-2017-5225","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20170453-1/","label":"www.suse.com/support/update/announcement/2017/suse-su-20170453-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1019611","label":"bugzilla.suse.com/1019611","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1022103","label":"bugzilla.suse.com/1022103","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5225","label":"www.suse.com/security/cve/CVE-2017-5225","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-5225","label":"ubuntu.com/security/CVE-2017-5225","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3212-1","label":"ubuntu.com/security/notices/USN-3212-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3212-4","label":"ubuntu.com/security/notices/USN-3212-4","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5225","label":"www.cve.org/CVERecord?id=CVE-2017-5225","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5225","label":"security-tracker.debian.org/tracker/CVE-2017-5225","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-795-1","DSA-3844-1","MGASA-2017-0199","OPENSUSE-SU-2024:11461-1","SUSE-SU-2018:1835-1","USN-3212-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11461-1","SUSE-SU-2018:1835-1","USN-3212-1"]},"timeline":[{"kind":"published","date":"2017-01-12T11:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-03-02T20:56:40.762Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:15:12.899Z","stale":false,"partial":false}}