Denial-of-Service Vulnerability in libtiff 4.3.0

tiff Updated 02 Oct 2025

Summary

10/03/2022
N/A
Yes i
Medium
6.5

CVE-2022-0865: Reachable Assertion in tiffcp in libtiff 4.3.0 allows attackers to cause a denial-of-service via a crafted tiff file. Affects tiff across 2 version ranges.

< 4.3.0-r0 < d21dcc67d0d3f4686ee989a085ad2bea9c58259d

Fixed in 4.3.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libtiff is an open-source library for reading and writing TIFF image files. It is widely used in various applications and operating systems. However, a vulnerability has been discovered in version 4.3.0 of libtiff that can lead to a denial-of-service attack. This vulnerability allows attackers to cause the tiffcp utility to crash when processing a specially crafted TIFF file.

Vulnerability Detail

The vulnerability, identified as CVE-2022-0865, arises from an assertion that can be reached by manipulating the contents of a TIFF file. When the tiffcp utility encounters a crafted file, it fails to handle it properly, resulting in a crash. This vulnerability can be exploited by an attacker to disrupt the functionality of systems that use libtiff, potentially leading to a denial-of-service condition. The severity of this vulnerability is rated as moderate with a CVSS score of 6.5.

How To Fix

Minimum fixed version

4.3.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tiff

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update libtiff to the fixed version as soon as possible to ensure the security and stability of systems that rely on libtiff.

Conclusion

In conclusion, libtiff version 4.3.0 is vulnerable to a denial-of-service attack due to a reachable assertion in the tiffcp utility. To mitigate this vulnerability, it is crucial to update libtiff to version 4.3.0-r0 or later. No known workaround is available, and updating to the fixed version is the recommended solution. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

libtiff is an open-source library for reading and writing TIFF image files. It is commonly used in various applications and operating systems.

This vulnerability can be exploited by attackers to cause a denial-of-service condition, potentially disrupting the functionality of systems that use libtiff.

To fix this vulnerability, update libtiff to version 4.3.0-r0 or later. If you have compiled libtiff from sources, apply commit 5e180045 from the official libtiff Git repository.

No, there is no known workaround for this vulnerability. Updating libtiff to the fixed version is the recommended solution.

The severity of this vulnerability is rated as moderate with a CVSS score of 6.5.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

4.3.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tiff

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback