Skip to content
Fencer Vulns
medium 5.3

CVE-2025-8177 json

LibTIFF thumbnail.c setrow buffer overflow

published 2025-07-26 15 mo ago modified 2026-07-25 3 mo ago also EUVD-2025-22770 , JLSEC-2025-318

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia Libtiff_jll 4.7.2+0
  • tiff Debian 14 4.7.1-1

debian advisories DEBIAN-CVE-2025-8177

  • tiff Ubuntu Pro 14.04 LTS 4.0.3-7ubuntu0.11+esm15
  • tiff Ubuntu Pro 16.04 LTS 4.0.6-1ubuntu0.8+esm18

ubuntu advisories UBUNTU-CVE-2025-8177

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtiff RHEL 7 ELS 4.0.3-35.el7_9.1
  • libtiff-tools RHEL 7 ELS 4.0.3-35.el7_9.1

red hat advisories RHSA-2025:21407

  • tiff SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 4.7.1-160000.1.1
  • tiff Linux Micro 6.0 4.7.1-1.1
  • tiff Linux Micro 6.1 4.7.1-slfo.1.1_1.1
  • tiff SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +17 more 4.0.9-150000.45.50.1
  • tiff SLE Module for Package Hub 15 SP7, SLE Module for Package Hub 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 4.7.0-150600.3.13.1
  • tiff SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.0.9-44.89.1

suse advisories SUSE-SU-2025:21009-1SUSE-SU-2025:21032-1SUSE-SU-2025:21037-1SUSE-SU-2025:20971-1SUSE-SU-2025:02815-1SUSE-SU-2025:02771-1

  • tiff openSUSE Leap 16.0 4.7.1-160000.1.1
  • tiff-man openSUSE Leap 16.0 4.7.1-160000.1.1
  • tiff openSUSE Tumbleweed 4.7.0-7.1

opensuse advisories openSUSE-SU-2025:20049-1openSUSE-SU-2025:15417-1

  • libtiff Azure Linux 3.0 4.6.0-7
  • libtiff CBL-Mariner 2.0 4.6.0-8

azure linux advisories AZL-65970AZL-65978

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-8177 updated cvss 7.8

libtiff: LibTIFF Buffer Overflow

  • Red Hat Enterprise Linux Server Optional (v. 7 ELS) libtiff-tools 4.0.3-35.el7_9.1
    fixed: vendor fix RHSA-2025:21407
  • Red Hat Enterprise Linux 6 libtiff Red Hat Enterprise Linux 7 compat-libtiff3 Red Hat Enterprise Linux 8 libtiff, libtiff-tools, mingw-libtiff, compat-libtiff3, mingw32-libtiff, mingw64-libtiff Red Hat Enterprise Linux 9 libtiff, libtiff-tools Red Hat Enterprise Linux 10 libtiff Red Hat Enterprise Linux Server (v. 7 ELS) libtiff 4.0.3-35.el7_9.1
    +1 more products
    Red Hat Enterprise Linux Server Optional (v. 7 ELS) libtiff-static 4.0.3-35.el7_9.1, libtiff-debuginfo 4.0.3-35.el7_9.1
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
15 mo ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • vuldb.com https://vuldb.com/?submit.621797 referenced PoC, tagged "exploit" by a source, unverified
  • gitlab.com https://gitlab.com/libtiff/libtiff/-/issues/715 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 4.8 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
CNA 3.1 5.3 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
CNA 3.0 5.3 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
CNA 2.0 4.3 AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C
CNA 4.0 4.8 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
CNA 3.1 5.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 2.0 4.3 AV:L/AC:L/Au:S/C:P/I:P/A:P
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia Libtiff_jll
<4.7.2+0
4.7.2+0

Affected products

  • n/a LibTIFF

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.