{"schemaVersion":3,"id":"CVE-2025-8177","aliases":["UBUNTU-CVE-2025-8177","DEBIAN-CVE-2025-8177","CGA-f3x3-54qg-ch8f","CGA-gwxf-m84v-6pr8"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in LibTIFF up to 4.7.0. It has been rated as critical. This issue affects the function setrow of the file tools/thumbnail.c. The manipulation leads to buffer overflow. An attack has to be approached locally. The patch is named e8c9d6c616b19438695fd829e58ae4fde5bfbc22. It is recommended to apply a patch to fix this issue. This vulnerability only affects products that are no longer supported by the maintainer.","dates":{"published":"2025-07-26T04:02:07.897Z","modified":"2025-07-28T18:34:44.737Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/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":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00305,"percentile":0.21821,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.03200000000000004,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00273},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00305,"percentile":0.21821}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00273,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00305,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00305,"percentile":0.21821}]},"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_6940F6E44A1BB7FA","name":"Exploit Reference (gitlab.com)","source":"reference","url":"https://gitlab.com/libtiff/libtiff/-/issues/715","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"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-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"chainguard","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/tiff","purlType":"apk","versions":[{"text":"< 4.7.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.0-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/tiff","purlType":"apk","versions":[{"text":"< 4.7.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.0-r6","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":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.7.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.7.1-1","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.11+esm15","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6-1ubuntu0.8+esm18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.3-7ubuntu0.11+esm15 | < 4.0.6-1ubuntu0.8+esm18","eol":null,"hubHref":null},{"vendor":"libtiff","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.7.0","eol":null,"hubHref":"/vendor/libtiff/libtiff"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.317591","label":"vuldb.com?id.317591","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","REPORT","Advisory","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.317591","label":"vuldb.com?ctiid.317591","hostname":"vuldb.com","tags":["Signature","Permissions Required","REPORT","VDB Entry"]},{"url":"https://vuldb.com/?submit.621797","label":"vuldb.com?submit.621797","hostname":"vuldb.com","tags":["Third Party Advisory","REPORT","Advisory","VDB Entry"]},{"url":"https://gitlab.com/libtiff/libtiff/-/issues/715","label":"gitlab.com/libtiff/libtiff/-/issues/715","hostname":"gitlab.com","tags":["Issue Tracking","REPORT","Exploit","Vendor Advisory"]},{"url":"https://gitlab.com/libtiff/libtiff/-/merge_requests/737","label":"gitlab.com/libtiff/libtiff/-/merge_requests/737","hostname":"gitlab.com","tags":["Patch","FIX","Product"]},{"url":"https://gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22","label":"gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22","hostname":"gitlab.com","tags":["Patch","FIX"]},{"url":"http://www.libtiff.org/","label":"www.libtiff.org","hostname":"www.libtiff.org","tags":["Product","WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-8177","label":"ubuntu.com/security/CVE-2025-8177","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-8177","label":"www.cve.org/CVERecord?id=CVE-2025-8177","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7707-1","label":"ubuntu.com/security/notices/USN-7707-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-8177","label":"security-tracker.debian.org/tracker/CVE-2025-8177","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8177.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8177.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8177","label":"nvd.nist.gov/vuln/detail/CVE-2025-8177","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["MGASA-2025-0252","OPENSUSE-SU-2025:15417-1","OPENSUSE-SU-2025:20049-1","RHSA-2025:21407","SUSE-SU-2025:02770-1","SUSE-SU-2025:02771-1","SUSE-SU-2025:02815-1","SUSE-SU-2025:20971-1","SUSE-SU-2025:21009-1","SUSE-SU-2025:21032-1","SUSE-SU-2025:21037-1","USN-7707-1"],"duplicates":[],"related":["CGA-RFRR-2975-7FP3","OPENSUSE-SU-2025:15417-1","OPENSUSE-SU-2025:20049-1","SUSE-SU-2025:02770-1","SUSE-SU-2025:02771-1","SUSE-SU-2025:02815-1","SUSE-SU-2025:20971-1","SUSE-SU-2025:21009-1","SUSE-SU-2025:21032-1","SUSE-SU-2025:21037-1","USN-7707-1"]},"timeline":[{"kind":"published","date":"2025-07-26T04:02:07.897Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-28T18:34:44.737Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T11:52:59.624Z","stale":false,"partial":false}}