CVE-2022-2867
libtiff's tiffcrop utility has a uint32_t underflow that can lead to out of bounds read and write. An attacker who supplies a crafted file to tiffcrop (likely via tricking a user to run tiffcrop on it with certain parameters) could cause a crash or in some cases, further exploitation.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, 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.2 | UBUNTU-CVE-2022-2867 |
| Ubuntu 20.04 | tiff | Fixed | 4.1.0+git191117-2ubuntu0.20.04.6 | UBUNTU-CVE-2022-2867 |
| Ubuntu 18.04 | tiff | Fixed | 4.0.9-5ubuntu0.8 | UBUNTU-CVE-2022-2867 |
| Ubuntu 16.04 | tiff | Fix pending | 4.0.6-1ubuntu0.8+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-2867 |
| Ubuntu 14.04 | tiff | Fix pending | 4.0.3-7ubuntu0.11+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-2867 |
| Debian 14 | tiff | Fixed | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2867 |
| Debian 13 | tiff | Fixed | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2867 |
| Debian 12 | tiff | Fixed | 4.4.0~rc1-1 | DEBIAN-CVE-2022-2867 |
| Red Hat Enterprise Linux 9 | libtiff | Not affected | ||
| Red Hat Enterprise Linux 9 | libtiff-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libtiff-tools | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-libtiff3 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libtiff | Fixed | 0:4.0.9-26.el8_7 | RHSA-2023:0095 |
| Red Hat Enterprise Linux 8 | libtiff-devel | Fixed | 0:4.0.9-26.el8_7 | RHSA-2023:0095 |
| Red Hat Enterprise Linux 8 | libtiff-tools | Fixed | 0:4.0.9-26.el8_7 | RHSA-2023:0095 |
| 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 8 | libtiff | Fixed | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| AlmaLinux 8 | libtiff-devel | Fixed | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| AlmaLinux 8 | libtiff-tools | Fixed | 4.0.9-26.el8_7 | ALSA-2023:0095 |
| Rocky Linux 8 | libtiff | Fixed | 0:4.0.9-26.el8_7 | RLSA-2023:0095 |
| Alpine Linux 3.24 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.23 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.22 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.21 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.20 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.19 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.18 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.17 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.16 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.15 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.14 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
| Alpine Linux 3.13 | tiff | Fixed | 4.4.0-r0 | ALPINE-CVE-2022-2867 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libtiff: affected: libtiff 4.4.0rc1
Vendor advisories:
- https://www.debian.org/security/2023/dsa-5333 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2118847
- https://lists.debian.org/debian-lts-announce/2023/01/msg00018.html
- https://www.debian.org/security/2023/dsa-5333
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.