CVE-2023-2908: Libtiff: null pointer dereference in tif_dir.c

Published Jun 30, 2023
·
Updated

A null pointer dereference issue was found in Libtiff's tifdir.c file. This issue may allow an attacker to pass a crafted TIFF image file to the tiffcp utility which triggers a runtime error that causes undefined behavior. This will result in an application crash, eventually leading to a denial of service.

Other sources

An issue was found in libtiff caused by runtime error: applying zero offset to null pointer leading to undefined behavior or crash.

https://gitlab.com/libtiff/libtiff/-/mergerequests/479 https://gitlab.com/libtiff/libtiff/-/commit/9bd48f0dbd64fb94dc2b5b05238fde0bfdd4ff3f

— Red Hat

LibTIFF is vulnerable to a denial of service, caused by a NULL pointer dereference flaw in tifdir.c. By persuading a victim to open a specially crafted TIFF image file, a remote attacker could exploit this vulnerability to cause the application to crash.

— IBM

Affected Software

10 affected componentsFixes available
redhat/libtiff<4.5.1
4.5.1
debian/tiff<=4.2.0-1+deb11u5, <=4.5.0-6+deb12u1
4.5.1+git230720-5
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
LibTIFF libtiff<=4.5.0
ubuntu/tiff<4.0.3-7ubuntu0.11+esm9
4.0.3-7ubuntu0.11+esm9
ubuntu/tiff<4.0.6-1ubuntu0.8+esm12
4.0.6-1ubuntu0.8+esm12
ubuntu/tiff<4.0.9-5ubuntu0.10+esm2
4.0.9-5ubuntu0.10+esm2
ubuntu/tiff<4.1.0+git191117-2ubuntu0.20.04.9
4.1.0+git191117-2ubuntu0.20.04.9
ubuntu/tiff<4.3.0-6ubuntu0.5
4.3.0-6ubuntu0.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/Libtiff to a version that resolves this vulnerability.

    Fixed in 4.5.1
  2. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.5.1+git230720-5
  3. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.3-7ubuntu0.11+esm9
  4. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.6-1ubuntu0.8+esm12
  5. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.9-5ubuntu0.10+esm2
  6. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.1.0+git191117-2ubuntu0.20.04.9
  7. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.3.0-6ubuntu0.5

Event History

Jun 30, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via OSV·10:15 PM
DescriptionSeverityAffected Software
Jul 7, 2023
Data Sourced
via Red Hat·08:33 AM
DescriptionSeverityAffected Software
Nov 7, 2023
Updated
04:13 AM
WeaknessAffected Software
Updated
via NVD·04:13 AM
Affected Software
Nov 16, 2023
Data Sourced
01:28 AM
Weakness
Jan 23, 2024
Data Sourced
via MITRE·01:44 AM
DescriptionSeverityWeakness
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Nov 3, 2025
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·09:15 PM
RemedyWeaknessAffected Software
Jun 17, 2026
Updated
via NVD·05:53 AM
RemedyAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-2908?

CVE-2023-2908 is a null pointer dereference issue found in Libtiff's tif_dir.c file.

2

How does CVE-2023-2908 impact Libtiff?

CVE-2023-2908 allows an attacker to pass a crafted TIFF image file to the tiffcp utility, triggering a runtime error and causing undefined behavior.

3

What is the severity of CVE-2023-2908?

CVE-2023-2908 has a severity rating of medium with a CVSS score of 5.5.

4

How can I fix CVE-2023-2908?

To fix CVE-2023-2908, you should update Libtiff to version 4.5.1 or apply the appropriate security patches provided by your software vendor.

5

Where can I find more information about CVE-2023-2908?

You can find more information about CVE-2023-2908 on the official Red Hat Security Advisory and Bugzilla pages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203