CVE-2022-3598 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-3598?
CVE-2022-3598 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 extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, 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 cfbb883b.
Weakness: CWE-787
Which versions are affected by CVE-2022-3598?
It affects 3 products.
Products include Debian Debian Linux, Libtiff Libtiff, Netapp Active Iq Unified Manager.
How do I fix CVE-2022-3598?
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-3598 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3598 exists.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-3598, AZL-11285, DEBIAN-CVE-2022-3598, GHSA-4cf4-hqwp-cpp8, JLSEC-2025-284, UBUNTU-CVE-2022-3598.