{"id":"CVE-2025-8177","summary":"LibTIFF thumbnail.c setrow buffer overflow","details":"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.","modified":"2026-10-24T14:13:55.316379037Z","published":"2025-07-26T04:02:07.897Z","related":["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","openSUSE-SU-2025:15417-1","openSUSE-SU-2025:20049-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8177.json","cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-120"]},"references":[{"type":"WEB","url":"http://www.libtiff.org/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8177.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8177"},{"type":"ADVISORY","url":"https://vuldb.com/?id.317591"},{"type":"ADVISORY","url":"https://vuldb.com/?submit.621797"},{"type":"REPORT","url":"https://gitlab.com/libtiff/libtiff/-/issues/715"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.317591"},{"type":"FIX","url":"https://gitlab.com/libtiff/libtiff/-/commit/e8c9d6c616b19438695fd829e58ae4fde5bfbc22"},{"type":"FIX","url":"https://gitlab.com/libtiff/libtiff/-/merge_requests/737"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/libtiff/libtiff","events":[{"introduced":"f7b79dc7dc86ccbaabe9882e2b9ffa5ee8dac917"},{"fixed":"e8c9d6c616b19438695fd829e58ae4fde5bfbc22"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.0"},{"last_affected":"4.0"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"4.1"},{"last_affected":"4.1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"4.2"},{"last_affected":"4.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.3"},{"last_affected":"4.3"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.4"},{"last_affected":"4.4"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"4.5"},{"last_affected":"4.5"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.6"},{"last_affected":"4.6"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"4.7.0"},{"last_affected":"4.7.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"e8c9d6c616b19438695fd829e58ae4fde5bfbc22"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-8177.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://gitlab.com/libtiff/libtiff@e8c9d6c616b19438695fd829e58ae4fde5bfbc22","target":{"file":"tools/thumbnail.c"},"deprecated":false,"digest":{"line_hashes":["297780625197446333907723077312940831795","270735107877385796218935091708520464452","315055247066183815880568827534154164368","329264990900716605034686252948964790648"],"threshold":0.9},"id":"CVE-2025-8177-8059c902"},{"signature_version":"v1","source":"https://gitlab.com/libtiff/libtiff@e8c9d6c616b19438695fd829e58ae4fde5bfbc22","target":{"function":"setrow","file":"tools/thumbnail.c"},"deprecated":false,"digest":{"length":1013,"function_hash":"11530096224261753264118971993864683479"},"id":"CVE-2025-8177-e319bec8","signature_type":"Function"}],"vanir_signatures_modified":"2026-10-24T14:13:55Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}