CVE-2022-2058 Denial of service in libtiff

Medium 5.5 Published Updated

Attackers can cause a denial of service in applications using libtiff by providing a crafted TIFF file that triggers a divide-by-zero error.

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

CVE-2022-2058 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 30 Jun 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

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows 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 f3a5e010.

Weakness: CWE-369

Which versions are affected by CVE-2022-2058?

It affects 4 products.

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

How do I fix CVE-2022-2058?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-2058 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-2058, AZL-10009, AZL-44721, DEBIAN-CVE-2022-2058, GHSA-5c57-665r-m369, JLSEC-2025-274 and 1 more.

Is CVE-2022-2058 in your software?

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

Check your SBOMs for free