cve.bz

CVE-2025-8177 libtiff libtiff: Classic Buffer Overflow

4.8 mediumExploit referenceEPSS 0.3%Fix available

Medium (4.8) in libtiff libtiff. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.8 medium
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

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 26th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-07-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-8177 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-8177?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-8177?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-8177 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libtiff:libtiffthrough 4.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13tiffno fix listedDEBIAN-CVE-2025-8177
Debian14tiff4.7.1-1DEBIAN-CVE-2025-8177
Ubuntu22.04:LTStiff4.3.0-6ubuntu0.11USN-7707-1
Ubuntu24.04:LTStiff4.5.1+git230720-4ubuntu2.3USN-7707-1
UbuntuPro:14.04:LTStiff4.0.3-7ubuntu0.11+esm15UBUNTU-CVE-2025-8177 USN-7707-1
UbuntuPro:16.04:LTStiff4.0.6-1ubuntu0.8+esm18UBUNTU-CVE-2025-8177 USN-7707-1
UbuntuPro:18.04:LTStiff4.0.9-5ubuntu0.10+esm8USN-7707-1
UbuntuPro:20.04:LTStiff4.1.0+git191117-2ubuntu0.20.04.14+esm1USN-7707-1
Red Hatrhel_els:7libtiff, libtiff-tools, libtiff-static0:4.0.3-35.el7_9.1RHSA-2025:21407
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 17 moretiff4.0.9-150000.45.50.1SUSE-SU-2025:02815-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 1 moretiff4.7.0-150600.3.13.1SUSE-SU-2025:02770-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tiff4.0.9-44.89.1SUSE-SU-2025:02771-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tiff4.7.1-160000.1.1SUSE-SU-2025:21009-1
SUSELinux Micro 6.0tiff4.7.1-1.1SUSE-SU-2025:21037-1
SUSELinux Micro 6.1tiff4.7.1-slfo.1.1_1.1SUSE-SU-2025:20971-1
SUSELinux Micro 6.2tiff4.7.1-160000.1.1SUSE-SU-2025:21032-1
openSUSELeap 15.6tiff4.7.0-150600.3.13.1SUSE-SU-2025:02770-1
openSUSELeap 16.0tiff, tiff-man4.7.1-160000.1.1openSUSE-SU-2025:20049-1
openSUSETumbleweedtiff4.7.0-7.1openSUSE-SU-2025:15417-1
Azure Linux2libtiff4.6.0-8AZL-65978
Azure Linux3libtiff4.6.0-7AZL-65970
Alpaquita23, 25, streamtiffno fix listedBELL-CVE-2025-8177
BellSoft Hardened Containers23, 25, streamtiffno fix listedBELL-CVE-2025-8177

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability has been rated Important because it involves a buffer overflow in the setrow function of LibTIFF’s thumbnail tool, which could allow a local attacker to execute arbitrary code or cause a denial of service. While the attack requires local access, successful exploitation could result in loss of confidentiality, integrity, and availability of the affected system.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportlibtiff-0:4.0.3-35.el7_9.1Fixed 2025-11-17RHSA-2025:21407
Red Hat Enterprise Linux 10libtiffNot affected
Red Hat Enterprise Linux 6libtiffNot affected
Red Hat Enterprise Linux 7compat-libtiff3Not affected
Red Hat Enterprise Linux 8compat-libtiff3Not affected
Red Hat Enterprise Linux 8libtiffNot affected
Red Hat Enterprise Linux 8mingw-libtiffNot affected
Red Hat Enterprise Linux 9libtiffNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-8177.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12), CWE-120 (13).

References

Check your stackJSON