# CVE-2023-25435: tiff: This update for tiff fixes the following issues:  - CVE-2023-25435: Heap-buffer-overflow in extractContigSamplesShift...

CVE-2023-25435 is fixed in 11 products on 1 platform, first by libtiff-opengl 4.0.9-5ubuntu0.10, released June 21, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-25435
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0035
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 21, 2023

## Description

This update for tiff fixes the following issues:  - CVE-2023-25435: Heap-buffer-overflow in extractContigSamplesShifted8bits() in tiffcrop.c (bsc#1212607). - CVE-2023-52356: Segment fault in libtiff in TIFFReadRGBATileExt() leading to denial of service (bsc#1219213).   Other bugfixes:  - Fixed tiff build issue on s390x as test 12 test_directory fails (bsc#1236834).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libtiff amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-debugsource amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-devel amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-opengl Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.10 | [libtiff-opengl 4.0.9-5ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff-opengl-4.0.9-5ubuntu0.10.md) | Jun 21, 2023 |
| Linux | libtiff-opengl Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.8 | [libtiff-opengl 4.1.0+git191117-2ubuntu0.20.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff-opengl-4.1.0-git191117-2ubuntu0.20.04.8.md) | Jun 21, 2023 |
| Linux | libtiff-opengl Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.4 | [libtiff-opengl 4.3.0-6ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff-opengl-4.3.0-6ubuntu0.4.md) | Jun 21, 2023 |
| Linux | libtiff-static amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-tools Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.10 | [libtiff-tools 4.0.9-5ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff-tools-4.0.9-5ubuntu0.10.md) | Jun 21, 2023 |
| Linux | libtiff-tools Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.8 | [libtiff-tools 4.1.0+git191117-2ubuntu0.20.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff-tools-4.1.0-git191117-2ubuntu0.20.04.8.md) | Jun 21, 2023 |
| Linux | libtiff-tools Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.4 | [libtiff-tools 4.3.0-6ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff-tools-4.3.0-6ubuntu0.4.md) | Jun 21, 2023 |
| Linux | libtiff-tools amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff-tools-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.6 | [ALAS2023-2023-255](https://patchblox.com/security/data/fix/linux/alas2023-2023-255.md) | Jul 17, 2023 |
| Linux | libtiff5 Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.10 | [libtiff5 4.0.9-5ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff5-4.0.9-5ubuntu0.10.md) | Jun 21, 2023 |
| Linux | libtiff5 Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.8 | [libtiff5 4.1.0+git191117-2ubuntu0.20.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff5-4.1.0-git191117-2ubuntu0.20.04.8.md) | Jun 21, 2023 |
| Linux | libtiff5 Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.4 | [libtiff5 4.3.0-6ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff5-4.3.0-6ubuntu0.4.md) | Jun 21, 2023 |
| Linux | libtiffxx5 Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.10 | [libtiffxx5 4.0.9-5ubuntu0.10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiffxx5-4.0.9-5ubuntu0.10.md) | Jun 21, 2023 |
| Linux | libtiffxx5 Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.8 | [libtiffxx5 4.1.0+git191117-2ubuntu0.20.04.8](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiffxx5-4.1.0-git191117-2ubuntu0.20.04.8.md) | Jun 21, 2023 |
| Linux | libtiffxx5 Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.4 | [libtiffxx5 4.3.0-6ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiffxx5-4.3.0-6ubuntu0.4.md) | Jun 21, 2023 |
| Linux | tiff Debian 12.15 (bookworm) | 4.5.0-5 | [DEBIAN-CVE-2023-25435](https://patchblox.com/security/data/fix/linux/debian-cve-2023-25435.md) | Jun 21, 2023 |
| Linux | tiff Debian 13.5 (trixie) | 4.5.0-5 | [DEBIAN-CVE-2023-25435](https://patchblox.com/security/data/fix/linux/debian-cve-2023-25435.md) | Jun 21, 2023 |
| Linux | tiff Debian 14 | 4.5.0-5 | [DEBIAN-CVE-2023-25435](https://patchblox.com/security/data/fix/linux/debian-cve-2023-25435.md) | Jun 21, 2023 |
| Linux | tiff opensuse-leap 15.6 | 4.7.0-150600.3.8.1 | [SUSE-SU-2025:0753-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0753-1.md) | Feb 28, 2025 |
| Linux | tiff sles 15.6 | 4.7.0-150600.3.8.1 | [SUSE-SU-2025:0753-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0753-1.md) | Feb 28, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
