CVE-2022-3597 Memory corruption in libtiff
Attackers can cause denial of service via crafted TIFF files exploiting an out-of-bounds write in LibTIFF.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-3597?
CVE-2022-3597 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 21 Oct 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6826, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 236b7191.
Weakness: CWE-787
Which versions are affected by CVE-2022-3597?
It affects 3 products.
Products include Debian Debian Linux, Libtiff Libtiff, Netapp Active Iq Unified Manager.
How do I fix CVE-2022-3597?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-3597 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3597 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-3597, AZL-11284, DEBIAN-CVE-2022-3597, GHSA-579p-3xv7-xhp3, JLSEC-2025-283.