# CVE-2023-2731: tiff: A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tif_lzw.c file

CVE-2023-2731 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2023-2731, released May 17, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-2731
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0043
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 17, 2023

## Description

A NULL pointer dereference flaw was found in Libtiff's LZWDecode() function in the libtiff/tif_lzw.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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libtiff RHEL 9 | 0:4.4.0-10.el9 | [RHSA-2023:6575](https://patchblox.com/security/data/fix/linux/rhsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff almalinux 9 | 4.4.0-10.el9 | [ALSA-2023:6575](https://patchblox.com/security/data/fix/linux/alsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff ol 9 | 0:4.4.0-10.el9 | [ELSA-2023-6575](https://patchblox.com/security/data/fix/linux/elsa-2023-6575.md) | Nov 11, 2023 |
| Linux | libtiff-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff-debugsource amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff-devel RHEL 9 | 0:4.4.0-10.el9 | [RHSA-2023:6575](https://patchblox.com/security/data/fix/linux/rhsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff-devel almalinux 9 | 4.4.0-10.el9 | [ALSA-2023:6575](https://patchblox.com/security/data/fix/linux/alsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff-devel amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff-devel ol 9 | 0:4.4.0-10.el9 | [ELSA-2023-6575](https://patchblox.com/security/data/fix/linux/elsa-2023-6575.md) | Nov 11, 2023 |
| Linux | libtiff-static amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff-tools RHEL 9 | 0:4.4.0-10.el9 | [RHSA-2023:6575](https://patchblox.com/security/data/fix/linux/rhsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff-tools almalinux 9 | 4.4.0-10.el9 | [ALSA-2023:6575](https://patchblox.com/security/data/fix/linux/alsa-2023-6575.md) | Nov 7, 2023 |
| Linux | libtiff-tools amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | libtiff-tools ol 9 | 0:4.4.0-10.el9 | [ELSA-2023-6575](https://patchblox.com/security/data/fix/linux/elsa-2023-6575.md) | Nov 11, 2023 |
| Linux | libtiff-tools-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.13 | [ALAS2023-2023-329](https://patchblox.com/security/data/fix/linux/alas2023-2023-329.md) | Aug 31, 2023 |
| Linux | tiff Debian 12.15 (bookworm) | 4.5.0-6 | [DEBIAN-CVE-2023-2731](https://patchblox.com/security/data/fix/linux/debian-cve-2023-2731.md) | May 17, 2023 |
| Linux | tiff Debian 13.5 (trixie) | 4.5.0-6 | [DEBIAN-CVE-2023-2731](https://patchblox.com/security/data/fix/linux/debian-cve-2023-2731.md) | May 17, 2023 |
| Linux | tiff Debian 14 | 4.5.0-6 | [DEBIAN-CVE-2023-2731](https://patchblox.com/security/data/fix/linux/debian-cve-2023-2731.md) | May 17, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
