Heap-Based Buffer Overflow in TIFF Package: CVE-2011-1167 Vulnerability Overview

tiff Updated 02 Oct 2025

Summary

28/03/2011
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2011-1167: Heap-based buffer overflow in the thunder (aka ThunderScan) decoder in tif_thunder.c in LibTIFF 3.9.4 and earlier allows remote attackers to execute arbitrary code via crafted THUNDER_2BITDELTAS data in a .tiff file that... Affects tiff versions < 3.9.4-9. Fixed in 3.9.4-9. 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 Tagged Image File Format (TIFF) images. It provides functionalities for reading and writing TIFF files, which are commonly used in various applications, including digital imaging and graphic design. The library is essential for processing images in a variety of formats, making it a critical component in many software systems. However, certain versions of the TIFF package are vulnerable to a serious security issue that can lead to arbitrary code execution.

Vulnerability Detail

The vulnerability, identified as CVE-2011-1167, is a heap-based buffer overflow that occurs in the thunder (ThunderScan) decoder within the tif_thunder.c file of LibTIFF version 3.9.4 and earlier. This flaw allows remote attackers to exploit crafted THUNDER_2BITDELTAS data in a .tiff file with an unexpected BitsPerSample value, potentially leading to arbitrary code execution. The implications of this vulnerability are severe, as it can allow attackers to take control of affected systems, execute malicious code, and compromise sensitive data.

How To Fix

Minimum fixed version

3.9.4-9

This is the first release that contains the fix.

sudo apt-get install --only-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 opening TIFF files from untrusted sources or disable the use of the thunder decoder if possible. This can help mitigate the risk until the package is updated.

Conclusion

The CVE-2011-1167 vulnerability in the TIFF package poses significant risks due to its potential for arbitrary code execution. It is crucial for users to update to the patched version 3.9.4-9 to safeguard their systems. Additionally, employing workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2011-1167 is a vulnerability in the TIFF package that allows for heap-based buffer overflow, potentially leading to arbitrary code execution.

Versions of the TIFF package prior to 3.9.4-9 are affected by this vulnerability.

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

The risks include potential arbitrary code execution, which can lead to system compromise and unauthorized access to sensitive data.

Yes, avoid opening TIFF files from untrusted sources and consider disabling the thunder decoder as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

3.9.4-9

This is the first release that contains the fix.

sudo apt-get install --only-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