On this page (7 sections)

On 26 November 2026 Ubuntu published USN-9205-1, a security notice covering two memory-safety flaws in LibTIFF, the widely used library for reading and writing TIFF images. Both could let a specially crafted image crash a program or, in the worst case, run attacker code.

If you run Ubuntu 22.04 LTS, 24.04 LTS or 26.04 LTS servers that process uploaded images (CMS platforms, document converters, thumbnail generators, scanning pipelines), you should install the updated packages. Red Hat has also published libtiff advisories, covered below.

What was fixed

USN-9205-1 bundles two separate LibTIFF bugs. Ubuntu credits different researchers for each and says that if a user or automated system were tricked into opening a specially crafted file, an attacker could possibly cause a denial of service or execute arbitrary code.

The two CVEs in USN-9205-1
CVEWeaknessTriggerCVSS (GitHub)Credited to
CVE-2026-12912CWE-122, heap-based buffer overflowDecoding PixarLog-compressed TIFF images with the PIXARLOGDATAFMT_8BITABGR output format and a specific stride value7.3 (High)Ariel Schön
CVE-2026-4775CWE-190, integer overflow or wraparoundSigned integer overflow in the putcontig8bitYCbCr44tile function, leading to an out-of-bounds heap write7.8 (High)Quang Luong

Technical background

Both issues are memory-corruption bugs in image decoding code. In CVE-2026-4775, a signed integer overflow produces a wrong memory pointer calculation, which the GitHub advisory says can cause an out-of-bounds heap write. In CVE-2026-12912, decoding a PixarLog-compressed image with a particular output format and stride value overflows a heap buffer, per its advisory.

In plain terms, the library is tricked into writing past the end of the memory it allocated. The usual outcome is a crash, which can take down a worker process or service. Turning that into code execution is harder and depends on the application and platform, and the sources do not describe any working exploit.

The descriptions say a remote attacker could supply the file, but the published CVSS vectors list the attack vector as Local with user interaction required. In practice this means the file must be opened or processed by a program on your system, which for a web server often happens automatically after an upload.

Who is realistically exposed

A plain static website that never touches TIFF files has little exposure. The risk is highest where software on the server parses images it did not create:

  • Upload features that accept images or documents and generate previews or thumbnails
  • Document and image conversion tools, including command-line utilities that link against LibTIFF
  • Desktop or batch systems that open files from email or shared folders
  • Container images built on Ubuntu or RHEL bases that include the library, even if the host itself is patched

Exploitation likelihood looks low for now. The GitHub Advisory Database shows EPSS scores of 0.365% for CVE-2026-12912 and 0.442% for CVE-2026-4775, and neither appears in CISA KEV. That is a statistical estimate, not a guarantee, and public image-parsing bugs tend to attract attention once details circulate.

How to check your exposure

Start by finding which LibTIFF version each Ubuntu host has. This read-only command lists installed LibTIFF packages and their versions; compare the result with the fixed versions in the table below.

List installed LibTIFF packages and versions (Debian/Ubuntu)Shell
dpkg -l | grep -i tiff
Fixed package versions from USN-9205-1
Ubuntu releaseFixed version (runtime library, tools and -dev packages)
26.04 LTS4.7.0-3ubuntu5.1 (libtiff6, libtiffxx6, libtiff-tools, libtiff-dev, libtiff5-dev)
24.04 LTS4.5.1+git230720-4ubuntu2.6 (libtiff6, libtiffxx6, libtiff-tools, libtiff-dev, libtiff5-dev)
22.04 LTS4.3.0-6ubuntu0.14 (libtiff5, libtiffxx5, libtiff-tools, libtiff-dev, libtiff5-dev)

On Red Hat Enterprise Linux, the two advisories reviewed, RHSA-2026:12265 (RHEL 10, libtiff-4.6.0-6.el10_1.3) and RHSA-2026:12271 (RHEL 9, libtiff-4.4.0-15.el9_7.3), cover CVE-2026-4775 and were issued on 2026-04-30. Red Hat also lists further errata for CVE-2026-12912, but their contents were not reviewed for this article, so check Red Hat's CVE pages for your release. Red Hat notes that more recent package versions may be available. This read-only query shows the installed version:

Show the installed libtiff package version (RHEL and compatible)Shell
rpm -q libtiff

What to do now

  1. Inventory Ubuntu hosts and containers that include LibTIFF, starting with servers that handle uploads or image conversion.
  2. Run a normal system update on each Ubuntu host (commands below), which Ubuntu says makes all the necessary changes.
  3. Confirm with dpkg that the installed LibTIFF packages match the fixed versions in the table.
  4. Restart long-running services that load the library, such as PHP-FPM, image workers or queue consumers, so they pick up the fixed version.
  5. Rebuild and redeploy container images from a patched base image.
  6. On RHEL systems, apply the libtiff update from Red Hat's advisory for your release and check Red Hat's CVE pages to confirm both CVEs are covered.
  7. Until patching is done, limit who can upload TIFF files and avoid processing TIFFs from unknown senders automatically.

Ubuntu says a standard system update will make all the necessary changes. The package names differ by release (libtiff5 on 22.04, libtiff6 on 24.04 and 26.04), so a full upgrade is the simplest way to catch every affected package. This refreshes package lists and installs available updates on Debian/Ubuntu; afterwards the dpkg check should show the fixed versions from the table.

Update all packages, including LibTIFF (Ubuntu 22.04, 24.04, 26.04)Shell
sudo apt update
sudo apt upgrade
dpkg -l | grep -i tiff
Caution. Restarting services interrupts requests in flight. Schedule the restart in a maintenance window and restart one node at a time behind a load balancer where you can.

On RHEL and compatible systems, this updates the libtiff package and then prints the installed version to compare with Red Hat's advisory for your release:

Update libtiff on RHEL and compatible systemsShell
sudo dnf update libtiff
rpm -q libtiff
Tip. To find processes still running with the old library after an update, check for services flagged by your distribution's restart tooling, or simply restart the services that handle images. A package update alone does not change code already loaded in memory.

Detection and monitoring

The sources describe no indicators of compromise, so focus on signs of instability and on keeping patch state visible. Watch application and system logs for repeated crashes or segmentation faults in image-processing workers, especially soon after file uploads. Review which upload endpoints accept TIFF content and whether that is actually needed.

For public-facing sites, a website firewall can add a layer of filtering on uploads, but it is no substitute for patching the underlying library. If you manage many servers, make package-version checks part of routine reviews, and see our website hacked guide for what to do if you suspect a compromise. For wider habits, our small business website security guide covers routine patching.

What is still unclear

  • The GitHub advisories list affected and patched upstream versions as unknown, so rely on your distribution's fixed package versions rather than upstream version numbers.
  • The sources do not report any exploitation in the wild.
  • Only Ubuntu and Red Hat fixes are covered in the research, and the Red Hat advisories reviewed address CVE-2026-4775. Other distributions may ship fixes on different schedules, so check your vendor.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-12912 - GitHub Advisory Databasegithub.com
  2. CVE-2026-4775 - GitHub Advisory Databasegithub.com
  3. https://access.redhat.com/errata/RHSA-2026:12265access.redhat.com
  4. https://access.redhat.com/errata/RHSA-2026:12271access.redhat.com
  5. USN-9205-1: LibTIFF vulnerabilities | Ubuntu security notices | Ubuntuubuntu.com ·
  • Ubuntu
  • LibTIFF
  • USN
  • CVE-2026-12912
  • CVE-2026-4775
  • patching