Out-of-Memory Vulnerability in TIFF Package: Denial of Service Risk

tiff Updated 02 Oct 2025

Summary

25/01/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-52355: An out-of-memory flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFRasterScanlineSize64() API. Affects tiff versions < 4.5.1+git230720-4. Fixed in 4.5.1+git230720-4. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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, making it essential for applications that process image data. However, this package has been found to have a critical vulnerability that could be exploited by attackers to cause service disruptions.

Vulnerability Detail

An out-of-memory flaw was discovered in the libtiff library, specifically in the TIFFRasterScanlineSize64() API. This vulnerability can be triggered by passing a specially crafted TIFF file, which may lead to a denial of service. The flaw allows remote attackers to exploit the library by providing input that is smaller than 379 KB, potentially crashing the application or causing it to become unresponsive.

How To Fix

Minimum fixed version

4.5.1+git230720-4

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, users can avoid processing untrusted TIFF files until the package is updated. Implementing input validation to check the size and integrity of TIFF files before processing can also mitigate the risk.

Conclusion

The out-of-memory vulnerability in the TIFF package poses a significant risk of denial of service through crafted TIFF files. Users are strongly advised to update to the latest patched version to protect their applications from potential exploitation. Implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

The vulnerability is an out-of-memory flaw that can lead to denial of service when processing specially crafted TIFF files.

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

If exploited, this vulnerability can cause applications to crash or become unresponsive, leading to service disruptions.

Yes, a patched version of the TIFF package (4.5.1+git230720-4) is available. Users should update to this version to mitigate the risk.

If immediate updates are not possible, avoid processing untrusted TIFF files and implement input validation as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

4.5.1+git230720-4

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