Heap-based buffer overflow in LibTIFF - CVE-2023-26965

 

Heap-based buffer overflow in LibTIFF - CVE-2023-26965

Published: July 16, 2023


Vulnerability identifier: #VU78286
CSH Severity: High
CVSS v4 BT: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID: CVE-2023-26965
CWE-ID: CWE-122
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 within the loadImage() function in tools/tiffcrop.c. A remote attacker can pass specially crafted TIFF file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

LibTIFF
Amazon Linux AMI
Oracle Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro for Rancher
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux 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
Ubuntu
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
openEuler
OpenShift Logging
Isolation Segment
VMware Tanzu Application Service for VMs
IBM Watson Discovery for IBM Cloud Pak for Data
App Connect Enterprise Certified Container
Red Hat Migration Toolkit for Applications
libtiff-tools (Ubuntu package)
libtiff5 (Ubuntu package)
libtiff5-debuginfo-32bit
tiff-debugsource
libtiff-devel
tiff-debuginfo
libtiff5-32bit
tiff
libtiff5-debuginfo
libtiff5
libtiff5-32bit-debuginfo
libtiff-devel-32bit
libtiff-debuginfo
libtiff-help
libtiff-debugsource
libtiff
libtiff (Red Hat package)
libtiff-static
libtiff-tools
libtiff-doc
libtiff6 (Ubuntu package)
VMware Tanzu Operations Manager
EMC ECS
Storage Resource Manager
Datacap
Dell EMC Storage Monitoring and Reporting (SMR)

How to mitigate CVE-2023-26965

Install updates from vendor's website.

LibTIFF - update to 4.5.1
OpenShift Logging - update to 5.8.1
libtiff-tools (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 4.1.0+git191117-2ubuntu0.20.04.9, 4.3.0-6ubuntu0.5, 4.5.0-5ubuntu1.1
libtiff5 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 4.1.0+git191117-2ubuntu0.20.04.9, 4.3.0-6ubuntu0.5
VMware Tanzu Operations Manager - addressed in versions 2.7.25, 2.8.16, 2.9.12, 2.10.39
Isolation Segment - addressed in versions 2.11.38, 2.13.23, 3.0.16, 4.0.8
VMware Tanzu Application Service for VMs - addressed in versions 2.11.44, 2.13.26, 3.0.16, 4.0.8
EMC ECS - update to 3.8.1.1
libtiff5-debuginfo-32bit - update to 4.0.9-44.74.1
tiff-debugsource - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
libtiff-devel - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
tiff-debuginfo - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
libtiff5-32bit - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
tiff - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
libtiff5-debuginfo - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
libtiff5 - addressed in versions 4.0.9-44.74.1, 4.0.9-150000.45.35.1
libtiff5-32bit-debuginfo - update to 4.0.9-150000.45.35.1
libtiff-devel-32bit - update to 4.0.9-150000.45.35.1
libtiff-devel - update to 4.3.0-13
libtiff-debuginfo - update to 4.3.0-13
libtiff-help - update to 4.3.0-13
libtiff-debugsource - update to 4.3.0-13
libtiff - update to 4.3.0-13
libtiff - update to 4.4.0-4
libtiff (Red Hat package) - update to 4.4.0-10.el9
libtiff - update to 4.4.0-10.0.1
libtiff-devel - update to 4.4.0-10.0.1
libtiff-static - update to 4.4.0-10.0.1
libtiff-tools - update to 4.4.0-10.0.1
libtiff-doc - update to 4.4.0-10.0.1
libtiff6 (Ubuntu package) - update to 4.5.0-5ubuntu1.1
IBM Watson Discovery for IBM Cloud Pak for Data - update to 4.8.3
Storage Resource Manager - update to 4.10.0.3
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
App Connect Enterprise Certified Container - addressed in versions 5.0.9, 9.1.0
Red Hat Migration Toolkit for Applications - update to 6.2
Datacap - update to 9.1.9.0.4

External References

Related Security Bulletins