CVE-2022-3626 Memory corruption in libtiff

Medium 5.5 Published Updated

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-3626?

CVE-2022-3626 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 _TIFFmemset in libtiff/tif_unix.c:340 when called from processCropSelections, tools/tiffcrop.c:7619, 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-3626?

It affects 3 products.

Products include Debian Debian Linux, Libtiff Libtiff, Netapp Active Iq Unified Manager.

How do I fix CVE-2022-3626?

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-3626 being exploited?

There is no known exploitation of CVE-2022-3626 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-3626, AZL-11287, DEBIAN-CVE-2022-3626, GHSA-q8fq-52x5-p228, JLSEC-2025-286.

Is CVE-2022-3626 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free