CVE-2022-2058: 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

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.

— MITRE

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

31 affected componentsFixes available
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
alpine/tiff<4.4.0-r3
4.4.0-r3
alpine/tiff<4.4.0-r3
4.4.0-r3
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
alpine/tiff<4.4.0-r1
4.4.0-r1
debian/tiff<4.4.0-3
4.4.0-3
debian/tiff<4.4.0-3
4.4.0-3
debian/tiff<4.4.0-3
4.4.0-3
debian/tiff
4.1.0+git191117-2~deb10u54.2.0-1+deb11u34.4.0-3
All of the following
azurelinux/libtiff<4.4.0-6
4.4.0-6
Microsoft CBL-Mariner=2.0
All of the following
azurelinux/libtiff<4.4.0-6
4.4.0-6
Microsoft CBL-Mariner=1.0
ubuntu/tiff<4.0.3-7ubuntu0.11+esm4
4.0.3-7ubuntu0.11+esm4
ubuntu/tiff<4.0.6-1ubuntu0.8+esm4
4.0.6-1ubuntu0.8+esm4
ubuntu/tiff<4.0.9-5ubuntu0.7
4.0.9-5ubuntu0.7
ubuntu/tiff<4.1.0+git191117-2ubuntu0.20.04.5
4.1.0+git191117-2ubuntu0.20.04.5
ubuntu/tiff<4.3.0-6ubuntu0.1
4.3.0-6ubuntu0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/tiff to a version that resolves this vulnerability.

    Fixed in 4.4.0-r3
  2. Upgrade

    Upgrade alpine/tiff to a version that resolves this vulnerability.

    Fixed in 4.4.0-r1
  3. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.4.0-3
  4. Upgrade

    Upgrade debian/tiff to a version that resolves this vulnerability.

    Fixed in 4.1.0+git191117-2~deb10u5Fixed in 4.2.0-1+deb11u3Fixed in 4.4.0-3
  5. Upgrade

    Upgrade azurelinux/libtiff to a version that resolves this vulnerability.

    Fixed in 4.4.0-6
  6. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.3-7ubuntu0.11+esm4
  7. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.6-1ubuntu0.8+esm4
  8. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.0.9-5ubuntu0.7
  9. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.1.0+git191117-2ubuntu0.20.04.5
  10. Upgrade

    Upgrade ubuntu/tiff to a version that resolves this vulnerability.

    Fixed in 4.3.0-6ubuntu0.1
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch f3a5e010

Event History

Jun 30, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Data Sourced
04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 9, 2022
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Dec 17, 2024
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2022-2058.

2

What is the title of the vulnerability?

The title of the vulnerability is 'Divide By Zero error in tiffcrop in libtiff 4.4.0 allows attackers to cause a denial-of-service via a crafted tiff file.'

3

What is the severity of the vulnerability?

The severity of the vulnerability is not specified.

4

How can attackers exploit this vulnerability?

Attackers can exploit this vulnerability by using a crafted tiff file to cause a Divide By Zero error in tiffcrop, resulting in a denial-of-service condition.

5

How can I fix this vulnerability?

For users that compile libtiff from sources, the fix is available with commit f3a5e010.

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