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.
| CVE | Weakness | Trigger | CVSS (GitHub) | Credited to |
|---|---|---|---|---|
| CVE-2026-12912 | CWE-122, heap-based buffer overflow | Decoding PixarLog-compressed TIFF images with the PIXARLOGDATAFMT_8BITABGR output format and a specific stride value | 7.3 (High) | Ariel Schön |
| CVE-2026-4775 | CWE-190, integer overflow or wraparound | Signed integer overflow in the putcontig8bitYCbCr44tile function, leading to an out-of-bounds heap write | 7.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.
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.
dpkg -l | grep -i tiff| Ubuntu release | Fixed version (runtime library, tools and -dev packages) |
|---|---|
| 26.04 LTS | 4.7.0-3ubuntu5.1 (libtiff6, libtiffxx6, libtiff-tools, libtiff-dev, libtiff5-dev) |
| 24.04 LTS | 4.5.1+git230720-4ubuntu2.6 (libtiff6, libtiffxx6, libtiff-tools, libtiff-dev, libtiff5-dev) |
| 22.04 LTS | 4.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:
rpm -q libtiffWhat to do now
- Inventory Ubuntu hosts and containers that include LibTIFF, starting with servers that handle uploads or image conversion.
- Run a normal system update on each Ubuntu host (commands below), which Ubuntu says makes all the necessary changes.
- Confirm with dpkg that the installed LibTIFF packages match the fixed versions in the table.
- Restart long-running services that load the library, such as PHP-FPM, image workers or queue consumers, so they pick up the fixed version.
- Rebuild and redeploy container images from a patched base image.
- 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.
- 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.
sudo apt update
sudo apt upgrade
dpkg -l | grep -i tiffOn 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:
sudo dnf update libtiff
rpm -q libtiffDetection 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.
