Heap-based buffer overflow in tiff3 package

tiff3 Updated 02 Oct 2025

Summary

13/05/2018
N/A
Yes i
Unrated
Not published

DLA-1378-1: tiff3 - security update. Affects tiff3 versions < 3.9.6-11+deb7u11. Fixed in 3.9.6-11+deb7u11. 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 tiff3 package is a library and tools for reading and writing TIFF (Tagged Image File Format) files. It provides functionality for manipulating and processing images in this format. The package is widely used in various applications that deal with image processing and storage. However, a vulnerability has been discovered in the package that could allow remote attackers to crash the client by exploiting a heap-based buffer overflow in the LZWDecodeCompat function in tif_lzw.c.

Vulnerability Detail

The heap-based buffer overflow vulnerability in the tiff3 package (LibTIFF 4.0.9 and earlier) can be exploited by remote attackers through a crafted TIFF LZW file. By exploiting this vulnerability, attackers can cause the client to crash. The vulnerability arises from improper handling of input data, leading to a buffer overflow condition. This can potentially allow an attacker to execute arbitrary code or perform denial-of-service attacks.

How To Fix

Minimum fixed version

3.9.6-11+deb7u11

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tiff3

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 apply the security update to mitigate the risk effectively.

Conclusion

The heap-based buffer overflow vulnerability in the tiff3 package poses a significant risk to systems that utilize TIFF file processing. It is crucial to upgrade to the fixed version (3.9.6-11+deb7u11) to mitigate the risk of remote attackers crashing the client. Applying the security update ensures proper handling of input data and prevents potential exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tiff3 →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to crash the client by exploiting a heap-based buffer overflow in the tiff3 package. This can lead to denial-of-service attacks and potential execution of arbitrary code.

The vulnerability affects tiff3 package versions 4.0.9 and earlier.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes your package-lock.json file and provides real-time alerts for open-source vulnerabilities.

There are no known public exploits for this vulnerability at the time of this report. However, it is crucial to apply the security update to prevent potential attacks.

You can find further information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at the following link: https://wiki.debian.org/LTS

Related vulnerabilities

Recent vulnerabilities recorded for tiff3.

How To Fix

Minimum fixed version

3.9.6-11+deb7u11

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tiff3

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