Memory Leak Vulnerability in LibTIFF Package: CVE-2019-6128

tiff Updated 02 Oct 2025

Summary

11/01/2019
N/A
Yes i
High
8.8

ALPINE-CVE-2019-6128: The TIFFFdOpen function in tif_unix.c in LibTIFF 4.0.10 has a memory leak, as demonstrated by pal2rgb. Affects tiff versions < 4.0.10-r3. Fixed in 4.0.10-r3. 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

LibTIFF is a widely-used library for reading and writing TIFF (Tagged Image File Format) files. It provides essential functionalities for image processing and is integral to many applications that handle image data. The library is known for its efficiency and support for various image formats, but it has been found to have vulnerabilities that can lead to severe security issues.

Vulnerability Detail

The vulnerability identified as CVE-2019-6128 is a memory leak in the TIFFFdOpen function located in tif_unix.c of LibTIFF version 4.0.10. This flaw can lead to increased memory consumption, potentially exhausting system resources and causing applications to crash or behave unpredictably. The vulnerability arises from improper handling of memory allocation, which does not release memory after it is no longer needed. This can be exploited by attackers to create denial-of-service conditions or to manipulate application behavior.

How To Fix

Minimum fixed version

4.0.10-r3

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 limit the usage of the affected function or avoid using the library in scenarios where memory management is critical until the package is updated. Additionally, monitoring memory usage can help mitigate the impact of this vulnerability.

Conclusion

The CVE-2019-6128 vulnerability in the LibTIFF package poses significant risks due to its memory leak issue. It is crucial for users to update to the patched versions to safeguard their applications against potential exploitation. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2019-6128 is a memory leak vulnerability found in the LibTIFF library, specifically in the TIFFFdOpen function.

This vulnerability can lead to increased memory usage, potentially causing applications to crash or become unresponsive.

Versions prior to 4.0.10-r3 for Alpine v3.10 and versions prior to 4.1.0-r0 for Alpine v3.11 and later are affected.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

If an immediate update is not possible, consider limiting the use of the affected function and monitoring your application's memory usage.

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.0.10-r3

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