Denial of Service Vulnerability in TIFF Package: CVE-2017-7592

tiff Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2017-7592: The putagreytile function in tif_getimage.c in LibTIFF 4.0.7 has a left-shift undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified oth... 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The TIFF package is a widely used library for handling TIFF (Tagged Image File Format) images. It provides functionalities for reading and writing TIFF files, which are commonly used in various applications, including image processing and printing. The library is known for its versatility and support for multiple image formats. However, it has been identified to have a vulnerability that can lead to application crashes when processing specially crafted images.

Vulnerability Detail

The vulnerability, identified as CVE-2017-7592, originates from the putagreytile function in tif_getimage.c within LibTIFF version 4.0.7. This issue involves left-shift undefined behavior, which can be exploited by remote attackers. By sending a crafted image, attackers may cause a denial of service (application crash) or potentially other unspecified impacts. The severity of this vulnerability is reflected in its CVSS score of 7.8, indicating a high risk to applications utilizing this library.

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, you can avoid processing untrusted TIFF images until the package is updated. This will help mitigate the risk of exploitation while a permanent fix is being applied.

Conclusion

CVE-2017-7592 is a significant vulnerability in the TIFF package that can lead to denial of service through crafted images. It is crucial to update to the patched version to ensure the security of applications relying on this library. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2017-7592 is a vulnerability in the TIFF package that can lead to application crashes when processing specially crafted images.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring access to the code.

The CVSS score of CVE-2017-7592 is 7.8, indicating a high severity level.

If immediate updates are not possible, avoid processing untrusted TIFF images as a temporary workaround to mitigate risks.

You can find more information about the TIFF package and its functionalities in the official documentation or repositories related to LibTIFF.

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