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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-17T00:00:00.000Z
- Modified: 2026-06-17T05:53:18.577Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libtiff: Fixed in libtiff v4.5.0
- libtiff libtiff: before 4.5.0
- fedoraproject fedora: 38
- redhat enterprise_linux: 9.0

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://gitlab.com/libtiff/libtiff/-/issues/548> (exploit, issue-tracking, patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2207635> (issue-tracking, patch, third-party-advisory)
- <https://github.com/libsdl-org/libtiff/commit/9be22b639ea69e102d3847dca4c53ef025e9527b> (patch)
- <https://access.redhat.com/security/cve/CVE-2023-2731> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230703-0009/>

## Sources

- CVE List: [CVE-2023-2731](https://www.cve.org/CVERecord?id=CVE-2023-2731), CVE Terms of Use, modified 2025-01-22
- NVD: [CVE-2023-2731](https://nvd.nist.gov/vuln/detail/CVE-2023-2731), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2731 · Whole record: https://cve.day/CVE-2023-2731.json · Rebuilt by cve.day 2026-11-25T22:58:24.231Z
