# CVE-2022-2057: libtiff: The libtiff packages contain a library of functions for manipulating Tagged Image File Format (TIFF) files.  Security...

CVE-2022-2057 is fixed in 11 products on 1 platform, first by DEBIAN-CVE-2022-2057, released June 30, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-2057
- Priority: Routine
- CVSS: 6.5 (Moderate)
- EPSS: 0.0127
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 30, 2022

## Description

The libtiff packages contain a library of functions for manipulating Tagged Image File Format (TIFF) files.  Security Fix(es):  * LibTiff: DoS from Divide By Zero Error (CVE-2022-2056, CVE-2022-2057, CVE-2022-2058)  * libtiff: Double free or corruption in rotateImage() function at tiffcrop.c (CVE-2022-2519)  * libtiff: uint32_t underflow leads to out of bounds read and write in tiffcrop.c (CVE-2022-2867)  * libtiff: tiffcrop.c has uint32_t underflow which leads to out of bounds read and write in extractContigSamples8bits() (CVE-2022-2869)  * libtiff: tiffcrop: heap-buffer-overflow in extractImageSection in tiffcrop.c (CVE-2022-2953)  * libtiff: Assertion fail in rotateImage() function at tiffcrop.c (CVE-2022-2520)  * libtiff: Invalid pointer free operation in TIFFClose() at tif_close.c (CVE-2022-2521)  * libtiff: Invalid crop_width and/or crop_length could cause an out-of-bounds read in reverseSamples16bits() (CVE-2022-2868)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libtiff RHEL 8 | 0:4.0.9-26.el8_7 | [RHSA-2023:0095](https://patchblox.com/security/data/fix/linux/rhsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff RHEL 9 | 0:4.4.0-5.el9_1 | [RHSA-2023:0302](https://patchblox.com/security/data/fix/linux/rhsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff almalinux 8 | 4.0.9-26.el8_7 | [ALSA-2023:0095](https://patchblox.com/security/data/fix/linux/alsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff almalinux 9 | 4.4.0-5.el9_1 | [ALSA-2023:0302](https://patchblox.com/security/data/fix/linux/alsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff ol 8 | 0:4.0.9-26.el8_7 | [ELSA-2023-0095](https://patchblox.com/security/data/fix/linux/elsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff ol 9 | 0:4.4.0-5.el9_1 | [ELSA-2023-0302](https://patchblox.com/security/data/fix/linux/elsa-2023-0302.md) | Jan 24, 2023 |
| Linux | libtiff rocky 8 | 0:4.0.9-26.el8_7 | [RLSA-2023:0095](https://patchblox.com/security/data/fix/linux/rlsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff rocky 9 | 0:4.4.0-5.el9_1 | [RLSA-2023:0302](https://patchblox.com/security/data/fix/linux/rlsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff-debugsource amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff-devel RHEL 8 | 0:4.0.9-26.el8_7 | [RHSA-2023:0095](https://patchblox.com/security/data/fix/linux/rhsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-devel RHEL 9 | 0:4.4.0-5.el9_1 | [RHSA-2023:0302](https://patchblox.com/security/data/fix/linux/rhsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff-devel almalinux 8 | 4.0.9-26.el8_7 | [ALSA-2023:0095](https://patchblox.com/security/data/fix/linux/alsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-devel almalinux 9 | 4.4.0-5.el9_1 | [ALSA-2023:0302](https://patchblox.com/security/data/fix/linux/alsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff-devel amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff-devel ol 8 | 0:4.0.9-26.el8_7 | [ELSA-2023-0095](https://patchblox.com/security/data/fix/linux/elsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-devel ol 9 | 0:4.4.0-5.el9_1 | [ELSA-2023-0302](https://patchblox.com/security/data/fix/linux/elsa-2023-0302.md) | Jan 24, 2023 |
| Linux | libtiff-opengl Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.7 | [libtiff-opengl 4.0.9-5ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff-opengl-4.0.9-5ubuntu0.7.md) | Aug 31, 2022 |
| Linux | libtiff-opengl Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.5 | [libtiff-opengl 4.1.0+git191117-2ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff-opengl-4.1.0-git191117-2ubuntu0.20.04.5.md) | Aug 31, 2022 |
| Linux | libtiff-opengl Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.1 | [libtiff-opengl 4.3.0-6ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff-opengl-4.3.0-6ubuntu0.1.md) | Aug 31, 2022 |
| Linux | libtiff-static amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff-tools RHEL 8 | 0:4.0.9-26.el8_7 | [RHSA-2023:0095](https://patchblox.com/security/data/fix/linux/rhsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-tools RHEL 9 | 0:4.4.0-5.el9_1 | [RHSA-2023:0302](https://patchblox.com/security/data/fix/linux/rhsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff-tools Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.7 | [libtiff-tools 4.0.9-5ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff-tools-4.0.9-5ubuntu0.7.md) | Aug 31, 2022 |
| Linux | libtiff-tools Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.5 | [libtiff-tools 4.1.0+git191117-2ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff-tools-4.1.0-git191117-2ubuntu0.20.04.5.md) | Aug 31, 2022 |
| Linux | libtiff-tools Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.1 | [libtiff-tools 4.3.0-6ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff-tools-4.3.0-6ubuntu0.1.md) | Aug 31, 2022 |
| Linux | libtiff-tools almalinux 8 | 4.0.9-26.el8_7 | [ALSA-2023:0095](https://patchblox.com/security/data/fix/linux/alsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-tools almalinux 9 | 4.4.0-5.el9_1 | [ALSA-2023:0302](https://patchblox.com/security/data/fix/linux/alsa-2023-0302.md) | Jan 23, 2023 |
| Linux | libtiff-tools amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff-tools ol 8 | 0:4.0.9-26.el8_7 | [ELSA-2023-0095](https://patchblox.com/security/data/fix/linux/elsa-2023-0095.md) | Jan 12, 2023 |
| Linux | libtiff-tools ol 9 | 0:4.4.0-5.el9_1 | [ELSA-2023-0302](https://patchblox.com/security/data/fix/linux/elsa-2023-0302.md) | Jan 24, 2023 |
| Linux | libtiff-tools-debuginfo amzn 2023 | 4.4.0-4.amzn2023.0.3 | [ALAS2023-2023-050](https://patchblox.com/security/data/fix/linux/alas2023-2023-050.md) | Feb 17, 2023 |
| Linux | libtiff5 Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.7 | [libtiff5 4.0.9-5ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiff5-4.0.9-5ubuntu0.7.md) | Aug 31, 2022 |
| Linux | libtiff5 Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.5 | [libtiff5 4.1.0+git191117-2ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiff5-4.1.0-git191117-2ubuntu0.20.04.5.md) | Aug 31, 2022 |
| Linux | libtiff5 Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.1 | [libtiff5 4.3.0-6ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiff5-4.3.0-6ubuntu0.1.md) | Aug 31, 2022 |
| Linux | libtiffxx5 Ubuntu 18.04.6 LTS (bionic) | 4.0.9-5ubuntu0.7 | [libtiffxx5 4.0.9-5ubuntu0.7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libtiffxx5-4.0.9-5ubuntu0.7.md) | Aug 31, 2022 |
| Linux | libtiffxx5 Ubuntu 20.04 LTS (focal) | 4.1.0+git191117-2ubuntu0.20.04.5 | [libtiffxx5 4.1.0+git191117-2ubuntu0.20.04.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libtiffxx5-4.1.0-git191117-2ubuntu0.20.04.5.md) | Aug 31, 2022 |
| Linux | libtiffxx5 Ubuntu 22.04.1 LTS (jammy) | 4.3.0-6ubuntu0.1 | [libtiffxx5 4.3.0-6ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libtiffxx5-4.3.0-6ubuntu0.1.md) | Aug 31, 2022 |
| Linux | tiff Debian 12.15 (bookworm) | 4.4.0-3 | [DEBIAN-CVE-2022-2057](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2057.md) | Jun 30, 2022 |
| Linux | tiff Debian 13.5 (trixie) | 4.4.0-3 | [DEBIAN-CVE-2022-2057](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2057.md) | Jun 30, 2022 |
| Linux | tiff Debian 14 | 4.4.0-3 | [DEBIAN-CVE-2022-2057](https://patchblox.com/security/data/fix/linux/debian-cve-2022-2057.md) | Jun 30, 2022 |

---

Data as of 2026-11-08T06:59:42Z 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.
