Out-of-Bounds Read Vulnerability in TIFF Package - CVE-2023-1916

tiff Updated 02 Oct 2025

Summary

10/04/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-1916: A flaw was found in tiffcrop, a program distributed by the libtiff package. Affects tiff versions < 4.7.0-1. Fixed in 4.7.0-1. 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 package, specifically the libtiff library, is widely used for handling TIFF (Tagged Image File Format) images. It provides tools for reading and writing TIFF files, making it essential for applications that require image processing. The package includes various utilities, including tiffcrop, which is used to crop TIFF images. However, a flaw in tiffcrop has been identified, exposing users to potential security risks.

Vulnerability Detail

A flaw was discovered in tiffcrop, a utility within the libtiff package. This vulnerability arises from the handling of specially crafted TIFF files, which can lead to an out-of-bounds read in the extractImageSection function located in tools/tiffcrop.c. The consequences of this flaw include denial of service and limited information disclosure, affecting libtiff versions 4.x. Attackers could exploit this vulnerability to manipulate TIFF files, potentially leading to application crashes or unauthorized access to sensitive information.

How To Fix

Minimum fixed version

4.7.0-1

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 measure, users can avoid opening untrusted TIFF files with the tiffcrop utility until the package is updated. Additionally, implementing strict file validation can help mitigate the risk of exploitation.

Conclusion

The CVE-2023-1916 vulnerability in the TIFF package poses significant risks due to its potential for denial of service and information disclosure. Users are strongly advised to update to the patched version 4.7.0-1 to mitigate these risks. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2023-1916 is a security vulnerability in the TIFF package that allows for an out-of-bounds read, potentially leading to denial of service and limited information disclosure.

The vulnerability affects libtiff versions 4.x.

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

If an immediate update is not possible, avoid using the tiffcrop utility with untrusted TIFF files and consider implementing strict file validation.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

4.7.0-1

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