Buffer overflow in LibTIFF - CVE-2025-8961

 

Buffer overflow in LibTIFF - CVE-2025-8961

Published: September 25, 2025


Vulnerability identifier: #VU116113
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-8961
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing files in tiffcrop.c. A remote attacker can create a specially crafted image, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

LibTIFF
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
Ubuntu
SUSE Package Hub 15
Basesystem Module
openSUSE Leap
Fedora
Business Automation Insights
tiff (Ubuntu package)
libtiff5-debuginfo-32bit
tiff-debuginfo
libtiff5
libtiff-devel
tiff
libtiff5-32bit
tiff-debugsource
libtiff5-debuginfo
libtiff5-32bit-debuginfo
libtiff
libtiff6-64bit-debuginfo
libtiff6-64bit
libtiff-devel-64bit
tiff-docs
libtiff-devel-docs
libtiff6
libtiff6-debuginfo
libtiff6-32bit
libtiff-devel-32bit
libtiff6-32bit-debuginfo

How to mitigate CVE-2025-8961

Install updates from vendor's website.

LibTIFF - update to 4.7.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+esm16, 4.0.6-1ubuntu0.8+esm19, 4.0.9-5ubuntu0.10+esm9, 4.1.0+git191117-2ubuntu0.20.04.14+esm2, 4.3.0-6ubuntu0.12, 4.5.1+git230720-4ubuntu2.4, 4.5.1+git230720-4ubuntu4.2
libtiff5-debuginfo-32bit - update to 4.0.9-44.94.1
tiff-debuginfo - addressed in versions 4.0.9-44.94.1, 4.0.9-150000.45.55.1, 4.7.0-150600.3.18.1
libtiff5 - addressed in versions 4.0.9-44.94.1, 4.0.9-150000.45.55.1
libtiff-devel - addressed in versions 4.0.9-44.94.1, 4.7.0-150600.3.18.1
tiff - addressed in versions 4.0.9-44.94.1, 4.7.0-150600.3.18.1
libtiff5-32bit - addressed in versions 4.0.9-44.94.1, 4.0.9-150000.45.55.1
tiff-debugsource - addressed in versions 4.0.9-44.94.1, 4.0.9-150000.45.55.1, 4.7.0-150600.3.18.1
libtiff5-debuginfo - addressed in versions 4.0.9-44.94.1, 4.0.9-150000.45.55.1
libtiff5-32bit-debuginfo - update to 4.0.9-150000.45.55.1
libtiff - update to 4.7.0-9.fc44
libtiff6-64bit-debuginfo - update to 4.7.0-150600.3.18.1
libtiff6-64bit - update to 4.7.0-150600.3.18.1
libtiff-devel-64bit - update to 4.7.0-150600.3.18.1
tiff-docs - update to 4.7.0-150600.3.18.1
libtiff-devel-docs - update to 4.7.0-150600.3.18.1
libtiff6 - update to 4.7.0-150600.3.18.1
libtiff6-debuginfo - update to 4.7.0-150600.3.18.1
libtiff6-32bit - update to 4.7.0-150600.3.18.1
libtiff-devel-32bit - update to 4.7.0-150600.3.18.1
libtiff6-32bit-debuginfo - update to 4.7.0-150600.3.18.1

External References

Related Security Bulletins