CVE-2023-2731: Null Pointer Dereference

Published May 16, 2023
·
Updated

A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tiflzw.c file. This flaw allows a local attacker to craft specific input data that can cause the program to dereference a NULL pointer when decompressing a TIFF format file, resulting in a program crash or denial of service.

Other sources

LibTIFF is vulnerable to a denial of service, caused by a NULL pointer dereference in Libtiff's LZWDecode() function in the libtiff/tiflzw.c. By persuading a victim to open a specially crafted file, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

NULL Pointer Dereference located at libtiff/tiflzw.c, allowing local attackers to cause a denial of service.

References: https://gitlab.com/libtiff/libtiff/-/issues/548 https://gitlab.com/gitlab-org/build/omnibus-mirror/libtiff/-/commit/9be22b639ea69e102d3847dca4c53ef025e9527b

Red Hat

Affected Software

7 affected componentsFixes available
redhat/libtiff<4.5.0
4.5.0
debian/tiff
4.2.0-1+deb11u54.5.0-6+deb12u14.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
Fedoraproject Fedora=38
redhat Enterprise Linux=9.0

Event History

May 17, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:17 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:17 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-2731?

CVE-2023-2731 is a vulnerability in Libtiff's LZWDecode() function in the libtiff/tif_lzw.c file that can be exploited by a local attacker to crash or disrupt the program.

2

How does CVE-2023-2731 impact affected software?

CVE-2023-2731 can cause an affected software to crash or become unresponsive when processing a TIFF format file.

3

Which software versions are affected by CVE-2023-2731?

The affected software versions include tiff 4.5.0-5ubuntu1.1, tiff 4.5.0-6 and 4.5.1, and libtiff 4.1.0+git191117-2~deb10u4, 4.1.0+git191117-2~deb10u8, 4.2.0-1+deb11u4, 4.5.0, and 4.5.1+git230720-1.

4

How can I mitigate CVE-2023-2731?

To mitigate CVE-2023-2731, users should update their Libtiff software to version 4.5.0-5ubuntu1.1 or apply the recommended patches provided by the software vendor.

5

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

More information about CVE-2023-2731 can be found on the Red Hat Security Advisory, Bugzilla, and GitHub pages linked in the references.

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