CVE-2022-3970LibTIFF tif_getimage.c TIFFReadRGBATileExt integer overflow
A vulnerability was found in LibTIFF. It has been classified as critical. This affects the function TIFFReadRGBATileExt of the file libtiff/tif_getimage.c. The manipulation leads to integer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 227500897dfb07fb7d27f7aa570050e62617e3be. It is recommended to apply a patch to fix this issue. The identifier VDB-213549 was assigned to this vulnerability.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | tiff | Fixed | 4.3.0-6ubuntu0.3 | UBUNTU-CVE-2022-3970 |
| Ubuntu 20.04 | tiff | Fixed | 4.1.0+git191117-2ubuntu0.20.04.7 | UBUNTU-CVE-2022-3970 |
| Ubuntu 18.04 | tiff | Fixed | 4.0.9-5ubuntu0.9 | UBUNTU-CVE-2022-3970 |
| Ubuntu 16.04 | tiff | Fix pending | 4.0.6-1ubuntu0.8+esm8 (Ubuntu Pro) | UBUNTU-CVE-2022-3970 |
| Ubuntu 14.04 | tiff | Fix pending | 4.0.3-7ubuntu0.11+esm6 (Ubuntu Pro) | UBUNTU-CVE-2022-3970 |
| Debian 14 | tiff | Fixed | 4.4.0-6 | DEBIAN-CVE-2022-3970 |
| Debian 13 | tiff | Fixed | 4.4.0-6 | DEBIAN-CVE-2022-3970 |
| Debian 12 | tiff | Fixed | 4.4.0-6 | DEBIAN-CVE-2022-3970 |
| Red Hat Enterprise Linux 9 | libtiff | Fixed | 0:4.4.0-7.el9 | RHSA-2023:2340 |
| Red Hat Enterprise Linux 9 | libtiff-devel | Fixed | 0:4.4.0-7.el9 | RHSA-2023:2340 |
| Red Hat Enterprise Linux 9 | libtiff-tools | Fixed | 0:4.4.0-7.el9 | RHSA-2023:2340 |
| Red Hat Enterprise Linux 8 | compat-libtiff3 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libtiff | Fixed | 0:4.0.9-27.el8 | RHSA-2023:2883 |
| Red Hat Enterprise Linux 8 | libtiff-devel | Fixed | 0:4.0.9-27.el8 | RHSA-2023:2883 |
| Red Hat Enterprise Linux 8 | libtiff-tools | Fixed | 0:4.0.9-27.el8 | RHSA-2023:2883 |
| Red Hat Enterprise Linux 7 | compat-libtiff3 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtiff | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtiff-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtiff-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libtiff-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtiff | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtiff-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libtiff-static | Will not fix Out of support scope | ||
| AlmaLinux 9 | libtiff | Fixed | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux 9 | libtiff-devel | Fixed | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux 9 | libtiff-tools | Fixed | 4.4.0-7.el9 | ALSA-2023:2340 |
| AlmaLinux 8 | libtiff | Fixed | 4.0.9-27.el8 | ALSA-2023:2883 |
| AlmaLinux 8 | libtiff-devel | Fixed | 4.0.9-27.el8 | ALSA-2023:2883 |
| AlmaLinux 8 | libtiff-tools | Fixed | 4.0.9-27.el8 | ALSA-2023:2883 |
| Alpine Linux 3.24 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.23 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.22 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.21 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.20 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.19 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.18 | tiff | Fixed | 4.5.0-r0 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.17 | tiff | Fixed | 4.4.0-r2 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.16 | tiff | Fixed | 4.4.0-r1 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.15 | tiff | Fixed | 4.4.0-r1 | ALPINE-CVE-2022-3970 |
| Alpine Linux 3.14 | tiff | Fixed | 4.4.0-r1 | ALPINE-CVE-2022-3970 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- unspecified LibTIFF: affected: n/a
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53137
- https://oss-fuzz.com/download?testcase_id=5738253143900160
- https://gitlab.com/libtiff/libtiff/-/commit/227500897dfb07fb7d27f7aa570050e62617e3be
- https://vuldb.com/?id.213549
- https://security.netapp.com/advisory/ntap-20221215-0009/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00018.html
- https://support.apple.com/kb/HT213843
- https://support.apple.com/kb/HT213841
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.