Use-after-free in LibTIFF - CVE-2025-8176
Published: August 5, 2025
Vulnerability identifier: #VU113649
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-8176
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error within the get_histogram() function in tools/tiffmedian.c. A remote attacker can pass a specially crafted image to the application and execute arbitrary code on the system.
Affected software
LibTIFF
SUSE Linux Enterprise Server 15 SP5
SUSE Manager Proxy 4.3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Manager Server 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
Fedora
Netezza Appliance
Business Automation Insights
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tiff (Ubuntu package)
libtiff-tools
libtiff-static
libtiff-devel
libtiff
libtiff (Red Hat package)
mingw32-libtiff
mingw32-libtiff-static
mingw64-libtiff
mingw64-libtiff-static
mingw-libtiff (Red Hat package)
libtiff5-debuginfo-32bit
libtiff5-32bit
tiff-debugsource
tiff-debuginfo
libtiff5
libtiff5-debuginfo
tiff
libtiff5-32bit-debuginfo
libtiff-doc
libtiff6-32bit-debuginfo
libtiff6-64bit-debuginfo
libtiff-devel-32bit
libtiff6-32bit
libtiff6
libtiff6-debuginfo
tiff-docs
libtiff-devel-docs
libtiff-devel-64bit
libtiff6-64bit
spice-client-win (Red Hat package)
Juniper Junos Space
SUSE Linux Enterprise Server 15 SP5
SUSE Manager Proxy 4.3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Manager Server 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Ubuntu
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
Fedora
Netezza Appliance
Business Automation Insights
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
tiff (Ubuntu package)
libtiff-tools
libtiff-static
libtiff-devel
libtiff
libtiff (Red Hat package)
mingw32-libtiff
mingw32-libtiff-static
mingw64-libtiff
mingw64-libtiff-static
mingw-libtiff (Red Hat package)
libtiff5-debuginfo-32bit
libtiff5-32bit
tiff-debugsource
tiff-debuginfo
libtiff5
libtiff5-debuginfo
tiff
libtiff5-32bit-debuginfo
libtiff-doc
libtiff6-32bit-debuginfo
libtiff6-64bit-debuginfo
libtiff-devel-32bit
libtiff6-32bit
libtiff6
libtiff6-debuginfo
tiff-docs
libtiff-devel-docs
libtiff-devel-64bit
libtiff6-64bit
spice-client-win (Red Hat package)
Juniper Junos Space
How to mitigate CVE-2025-8176
Install updates from vendor's website.
Netezza Appliance - update to 1.0.0.1
Business Automation Insights - addressed in versions 24.0.0.0.6, 24.0.1.0.6, 25.0.0.0.3
tiff (Ubuntu package) - addressed in versions 4.0.3-7ubuntu0.11+esm15, 4.0.6-1ubuntu0.8+esm18, 4.0.9-5ubuntu0.10+esm8, 4.1.0+git191117-2ubuntu0.20.04.14+esm1, 4.3.0-6ubuntu0.11, 4.5.1+git230720-4ubuntu2.3, 4.5.1+git230720-4ubuntu4.1
libtiff-tools - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff-static - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff-devel - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff (Red Hat package) - addressed in versions 4.0.3-35.el7_9.1, 4.0.9-36.el8_10, 4.4.0-8.el9_2.4, 4.4.0-12.el9_4.4, 4.4.0-13.el9_6.2, 4.4.0-15.el9_7.2
mingw32-libtiff - update to 4.0.9-3
mingw32-libtiff-static - update to 4.0.9-3
mingw64-libtiff - update to 4.0.9-3
mingw64-libtiff-static - update to 4.0.9-3
mingw-libtiff (Red Hat package) - update to 4.0.9-3.el8_10
libtiff-devel - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
libtiff5-debuginfo-32bit - update to 4.0.9-44.89.1
libtiff5-32bit - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
tiff-debugsource - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
tiff-debuginfo - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
libtiff5 - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
libtiff5-debuginfo - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
tiff - addressed in versions 4.0.9-44.89.1, 4.7.0-150600.3.13.1
libtiff5-32bit-debuginfo - update to 4.0.9-150000.45.50.1
libtiff-doc - update to 4.4.0-13.0.1
libtiff - update to 4.7.0-6.fc42
libtiff6-32bit-debuginfo - update to 4.7.0-150600.3.13.1
libtiff6-64bit-debuginfo - update to 4.7.0-150600.3.13.1
libtiff-devel-32bit - update to 4.7.0-150600.3.13.1
libtiff6-32bit - update to 4.7.0-150600.3.13.1
libtiff6 - update to 4.7.0-150600.3.13.1
libtiff6-debuginfo - update to 4.7.0-150600.3.13.1
tiff-docs - update to 4.7.0-150600.3.13.1
libtiff-devel-docs - update to 4.7.0-150600.3.13.1
libtiff-devel-64bit - update to 4.7.0-150600.3.13.1
libtiff6-64bit - update to 4.7.0-150600.3.13.1
spice-client-win (Red Hat package) - addressed in versions 8.10-3.el8_2.1, 8.10-3.el8_4.1, 8.10-3.el8_6.1, 8.10-3.el8_8.1
Juniper Junos Space - update to 26.1R1 Patch V1
Business Automation Insights - addressed in versions 24.0.0.0.6, 24.0.1.0.6, 25.0.0.0.3
tiff (Ubuntu package) - addressed in versions 4.0.3-7ubuntu0.11+esm15, 4.0.6-1ubuntu0.8+esm18, 4.0.9-5ubuntu0.10+esm8, 4.1.0+git191117-2ubuntu0.20.04.14+esm1, 4.3.0-6ubuntu0.11, 4.5.1+git230720-4ubuntu2.3, 4.5.1+git230720-4ubuntu4.1
libtiff-tools - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff-static - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff-devel - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff - addressed in versions 4.0.3-35, 4.4.0-13.0.1
libtiff (Red Hat package) - addressed in versions 4.0.3-35.el7_9.1, 4.0.9-36.el8_10, 4.4.0-8.el9_2.4, 4.4.0-12.el9_4.4, 4.4.0-13.el9_6.2, 4.4.0-15.el9_7.2
mingw32-libtiff - update to 4.0.9-3
mingw32-libtiff-static - update to 4.0.9-3
mingw64-libtiff - update to 4.0.9-3
mingw64-libtiff-static - update to 4.0.9-3
mingw-libtiff (Red Hat package) - update to 4.0.9-3.el8_10
libtiff-devel - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
libtiff5-debuginfo-32bit - update to 4.0.9-44.89.1
libtiff5-32bit - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
tiff-debugsource - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
tiff-debuginfo - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1, 4.7.0-150600.3.13.1
libtiff5 - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
libtiff5-debuginfo - addressed in versions 4.0.9-44.89.1, 4.0.9-150000.45.50.1
tiff - addressed in versions 4.0.9-44.89.1, 4.7.0-150600.3.13.1
libtiff5-32bit-debuginfo - update to 4.0.9-150000.45.50.1
libtiff-doc - update to 4.4.0-13.0.1
libtiff - update to 4.7.0-6.fc42
libtiff6-32bit-debuginfo - update to 4.7.0-150600.3.13.1
libtiff6-64bit-debuginfo - update to 4.7.0-150600.3.13.1
libtiff-devel-32bit - update to 4.7.0-150600.3.13.1
libtiff6-32bit - update to 4.7.0-150600.3.13.1
libtiff6 - update to 4.7.0-150600.3.13.1
libtiff6-debuginfo - update to 4.7.0-150600.3.13.1
tiff-docs - update to 4.7.0-150600.3.13.1
libtiff-devel-docs - update to 4.7.0-150600.3.13.1
libtiff-devel-64bit - update to 4.7.0-150600.3.13.1
libtiff6-64bit - update to 4.7.0-150600.3.13.1
spice-client-win (Red Hat package) - addressed in versions 8.10-3.el8_2.1, 8.10-3.el8_4.1, 8.10-3.el8_6.1, 8.10-3.el8_8.1
Juniper Junos Space - update to 26.1R1 Patch V1
External References
Related Security Bulletins
- Multiple vulnerabilities in LibTIFF
- Fedora 42 update for libtiff
- SUSE update for tiff
- SUSE update for tiff
- SUSE update for tiff
- SUSE update for tiff
- Ubuntu update for tiff
- Red Hat Enterprise Linux 9 update for libtiff
- Anolis OS update for libtiff
- Red Hat Enterprise Linux 8 update for mingw-libtiff
- Anolis OS update for mingw-libtiff
- Red Hat Enterprise Linux 8 update for libtiff
- Red Hat Enterprise Linux 9 update for libtiff
- Red Hat Enterprise Linux 7 Extended Lifecycle Support update for libtiff
- Red Hat Enterprise Linux 9 update for libtiff
- Red Hat Enterprise Linux 9 update for libtiff
- Multiple vulnerabilities in IBM Netezza Appliance
- Red Hat Enterprise Linux 8 update for spice-client-win
- Anolis OS update for libtiff
- Red Hat Enterprise Linux 8 update for spice-client-win
- Red Hat Enterprise Linux 8 update for spice-client-win
- Red Hat Enterprise Linux 8 update for spice-client-win
- Multiple vulnerabilities in IBM Business Automation Insights
- Multiple vulnerabilities in Junos Space