Integer Overflow Vulnerability in TIFF Package: CVE-2019-14973

tiff Updated 02 Oct 2025

Summary

14/08/2019
N/A
Yes i
Medium
6.5

ALPINE-CVE-2019-14973: _TIFFCheckMalloc and _TIFFCheckRealloc in tif_aux.c in LibTIFF through 4.0.10 mishandle Integer Overflow checks because they rely on compiler behavior that is undefined by the applicable C standards. Affects tiff versions < 4.0.10-r1. Fixed in 4.0.10-r1. 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, making it essential for applications that require image processing. The library is known for its versatility and support for various image compression formats. However, it is susceptible to vulnerabilities that can compromise application stability and security.

Vulnerability Detail

The vulnerability identified as CVE-2019-14973 arises from improper handling of Integer Overflow checks in the functions _TIFFCheckMalloc and _TIFFCheckRealloc within the tif_aux.c file of the LibTIFF library, up to version 4.0.10. This flaw relies on compiler behavior that is not defined by the C standards, potentially leading to application crashes and unexpected behavior. Attackers could exploit this vulnerability to disrupt services or cause denial of service.

How To Fix

Minimum fixed version

4.0.10-r1

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 measure, if updating the package is not immediately feasible, consider implementing input validation to ensure that the parameters passed to the TIFF functions do not lead to integer overflow. However, this is not a substitute for applying the patch.

Conclusion

In summary, CVE-2019-14973 is a significant vulnerability in the TIFF package that can lead to application instability. It is essential to update to the patched version to ensure the security and reliability of applications utilizing this library. Regular monitoring for vulnerabilities using tools like Vulert can help maintain software integrity.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2019-14973 is a vulnerability in the TIFF package that can lead to application crashes due to improper integer overflow checks.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to access the code.

The CVSS score for CVE-2019-14973 is 6.5, indicating a medium severity level.

Exploitation of this vulnerability can lead to application crashes, service disruptions, and potential denial of service attacks.

Implementing input validation can help mitigate the risk temporarily, but it is crucial to apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

4.0.10-r1

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