Critical Vulnerability in TIFF Package: Denial of Service Risk Due to Undefined Behavior

tiff Updated 02 Oct 2025

Summary

09/04/2017
N/A
Yes i
High
7.8

ALPINE-CVE-2017-7601: LibTIFF 4.0.7 has a "shift exponent too large for 64-bit type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact... Affects tiff versions < 4.0.7-r2. Fixed in 4.0.7-r2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The TIFF (Tagged Image File Format) package is widely used for storing raster graphics images, including photographs and line art. It supports various color spaces and is known for its flexibility and high-quality image storage. However, the package has been found to have a significant vulnerability that can lead to application crashes and potential exploitation by attackers.

Vulnerability Detail

LibTIFF version 4.0.7 contains a vulnerability characterized by 'shift exponent too large for 64-bit type long' which results in undefined behavior. This flaw can be exploited by remote attackers through specially crafted images, leading to denial of service (application crashes) or potentially other unspecified impacts. The vulnerability is classified under CVE-2017-7601 and has a CVSS score of 7.8, indicating a high severity level.

How To Fix

Minimum fixed version

4.0.7-r2

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

As a temporary workaround, avoid processing untrusted TIFF images until the package is updated. This can help mitigate the risk of exploitation while waiting for the patch to be applied.

Conclusion

The vulnerability in the TIFF package poses a significant risk to applications that process TIFF images. It is crucial to update to the patched version to mitigate potential denial of service attacks. Users are encouraged to monitor their systems and apply updates promptly.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2017-7601 is a vulnerability in the LibTIFF library that can lead to denial of service due to undefined behavior when processing certain TIFF images.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If an immediate update is not possible, refrain from using untrusted TIFF images to minimize the risk of exploitation.

The primary impact is denial of service, which can cause application crashes. There may also be other unspecified impacts that could arise from exploitation.

More details can be found in the official CVE database or by visiting the vulnerability report at https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-7601.json.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

4.0.7-r2

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