CVE-2022-2057: Divide by Zero

Published Jun 30, 2022
·
Updated

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.

Other sources

LibTIFF is vulnerable to a denial of service, caused by a divide-by-zero error in tiffcrop. By persuading a victim to open a specially-crafted TIFF file, a remote attacker could exploit this vulnerability to cause a denial of service.

IBM

Affected Software

9 affected componentsFixes available
debian/tiff<=4.1.0+git191117-2~deb10u4
4.1.0+git191117-2~deb10u84.2.0-1+deb11u44.2.0-1+deb11u54.5.0-6+deb12u14.5.1+git230720-3
IBM Cognos Analytics<=12.0.0-12.0.3
IBM Cognos Analytics<=11.2.0-11.2.4 FP4
LibTIFF libtiff=4.4.0
NetApp Active Iq Unified Manager Vmware Vsphere
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

Jun 30, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-2057?

CVE-2022-2057 is a vulnerability in the libtiff library that allows attackers to cause a denial-of-service by exploiting a Divide By Zero error in the tiffcrop utility.

2

How severe is CVE-2022-2057?

CVE-2022-2057 has a severity level of medium, with a CVSS score of 6.5.

3

Which versions of libtiff are affected by CVE-2022-2057?

Versions 4.4.0 of libtiff are affected by CVE-2022-2057.

4

How can attackers exploit CVE-2022-2057?

Attackers can exploit CVE-2022-2057 by crafting a malicious TIFF file that triggers the Divide By Zero error in the tiffcrop utility, leading to a denial-of-service condition.

5

How can I fix CVE-2022-2057?

The fix for CVE-2022-2057 is available with commit f3a5e010 if you compile libtiff from sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203