Critical Security Update for libtiff: Heap-based Buffer Overflow Vulnerability

libtiff Updated 22 Jul 2026

Summary

21/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:42668: Important: libtiff security update. Affects libtiff versions < 4.4.0-18.el9_8.1. Fixed in 4.4.0-18.el9_8.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

libtiff is a widely used library for manipulating Tagged Image File Format (TIFF) files. It provides essential functions for reading and writing TIFF images, making it a critical component in various applications that handle image processing. The library is integral to many software solutions, particularly in graphic design and digital imaging. However, it has been found to be vulnerable to a heap-based buffer overflow, which can be exploited through specially crafted TIFF images.

Vulnerability Detail

The vulnerability identified as CVE-2026-12912 is a heap-based buffer overflow that occurs when libtiff processes PixarLog-compressed TIFF images. This flaw can be exploited by an attacker to execute arbitrary code, potentially leading to system compromise. The issue arises from improper handling of input data, allowing attackers to manipulate memory allocation and execute malicious payloads. The ramifications of this vulnerability are severe, as it can lead to unauthorized access and control over affected systems.

How To Fix

Minimum fixed version

4.4.0-18.el9_8.1

This is the first release that contains the fix.

sudo dnf update libtiff

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users are advised to avoid opening untrusted TIFF files, especially those that are PixarLog-compressed, until the package has been updated. Additionally, implementing strict file validation and sanitization processes can help mitigate the risk of exploitation.

Conclusion

The libtiff library has a critical vulnerability that can lead to severe security risks if not addressed. Users are strongly encouraged to update their packages to the latest version to mitigate these risks. By following the recommended steps and utilizing tools like Vulert, users can ensure their applications remain secure against such vulnerabilities.

See every vulnerability recorded for libtiff →

Share this vulnerability

FAQ

libtiff is a library used for reading and writing TIFF (Tagged Image File Format) files, commonly used in image processing applications.

A heap-based buffer overflow is a type of vulnerability that occurs when a program writes more data to a buffer located on the heap than it can hold, potentially allowing attackers to execute arbitrary code.

You can use Vulert, which monitors open-source vulnerabilities in your software. By simply uploading your manifest file like package-lock.json, you can check for vulnerabilities in real-time.

If an immediate update is not possible, avoid opening untrusted TIFF files and consider implementing strict file validation to reduce the risk of exploitation.

For more details, refer to the CVE page for CVE-2026-12912, which provides comprehensive information about the vulnerability and its impact.

Related vulnerabilities

Recent vulnerabilities recorded for libtiff.

How To Fix

Minimum fixed version

4.4.0-18.el9_8.1

This is the first release that contains the fix.

sudo dnf update libtiff

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