CVEfocus › CVE database › CVE-2023-6228

CVE-2023-6228Libtiff: heap-based buffer overflow in cpstriptotile() in tools/tiffcp.c

CVSS 3.3 LowEPSS 0.4% (higher than 26% of CVEs)Published 2023-12-18Updated 2026-11-25Assigner: redhat

An issue was found in the tiffcp utility distributed by the libtiff package where a crafted TIFF file on processing may cause a heap-based buffer overflow leads to an application crash.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

18Fixed
10Fix pending
3Under investigation
21Will not fix
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libgeotiffFix pendingUBUNTU-CVE-2023-6228
Ubuntu 26.10libtk-imgFix pendingUBUNTU-CVE-2023-6228
Ubuntu 26.10povrayFix pendingUBUNTU-CVE-2023-6228
Ubuntu 26.04libgeotiffUnder investigationUBUNTU-CVE-2023-6228
Ubuntu 26.04libtk-imgNot affected
vulnerable_code_not_present
Ubuntu 26.04povrayFix pendingUBUNTU-CVE-2023-6228
Ubuntu 25.10libgeotiffWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 25.10libtk-imgWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 25.10povrayWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 24.04libgeotiffFix pendingUBUNTU-CVE-2023-6228
Ubuntu 24.04libtk-imgFix pendingUBUNTU-CVE-2023-6228
Ubuntu 24.04povrayUnder investigationUBUNTU-CVE-2023-6228
Ubuntu 24.04tiffFixed4.5.1+git230720-4ubuntu1UBUNTU-CVE-2023-6228
Ubuntu 22.04libgeotiffNot affected
vulnerable_code_not_present
Ubuntu 22.04libtk-imgFix pendingUBUNTU-CVE-2023-6228
Ubuntu 22.04povrayUnder investigationUBUNTU-CVE-2023-6228
Ubuntu 22.04tiffFixed4.3.0-6ubuntu0.8UBUNTU-CVE-2023-6228
Ubuntu 20.04libgeotiffWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 20.04libtk-imgWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 20.04povrayWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 20.04tiffFixed4.1.0+git191117-2ubuntu0.20.04.12UBUNTU-CVE-2023-6228
Ubuntu 18.04libtk-imgWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 18.04povrayWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 18.04tiffFix pending4.0.9-5ubuntu0.10+esm5 (Ubuntu Pro)UBUNTU-CVE-2023-6228
Ubuntu 16.04libtk-imgWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 16.04povrayWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
UBUNTU-CVE-2023-6228
Ubuntu 16.04tiffWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
4.0.6-1ubuntu0.8+esm15 (Ubuntu Pro)UBUNTU-CVE-2023-6228
Ubuntu 14.04libtk-imgWill not fix
libtk-img and povray both seem to have embedded copies of tiff, whilst libgeotiff appears to duplicate the vulnerable function
Ubuntu 14.04tiffFix pending4.0.3-7ubuntu0.11+esm12 (Ubuntu Pro)UBUNTU-CVE-2023-6228
Debian 14tiffFixed4.7.0-1DEBIAN-CVE-2023-6228
Debian 13tiffFixed4.7.0-1DEBIAN-CVE-2023-6228
Debian 12tiffWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-6228
Red Hat Enterprise Linux 9libtiffFixed0:4.4.0-12.el9RHSA-2024:2289
Red Hat Enterprise Linux 9libtiff-develFixed0:4.4.0-12.el9RHSA-2024:2289
Red Hat Enterprise Linux 9libtiff-toolsFixed0:4.4.0-12.el9RHSA-2024:2289
Red Hat Enterprise Linux 8compat-libtiff3Fix pending
Fix deferred
Red Hat Enterprise Linux 8libtiffFixed0:4.0.9-32.el8_10RHSA-2024:5079
Red Hat Enterprise Linux 8libtiff-develFixed0:4.0.9-32.el8_10RHSA-2024:5079
Red Hat Enterprise Linux 8libtiff-toolsFixed0:4.0.9-32.el8_10RHSA-2024:5079
Red Hat Enterprise Linux 7compat-libtiff3Will not fix
Out of support scope
Red Hat Enterprise Linux 7libtiffWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-staticWill not fix
Out of support scope
Red Hat Enterprise Linux 7libtiff-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiffWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiff-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libtiff-staticWill not fix
Out of support scope
AlmaLinux 9libtiffFixed4.4.0-12.el9ALSA-2024:2289
AlmaLinux 9libtiff-develFixed4.4.0-12.el9ALSA-2024:2289
AlmaLinux 9libtiff-toolsFixed4.4.0-12.el9ALSA-2024:2289
AlmaLinux 8libtiffFixed4.0.9-32.el8_10ALSA-2024:5079
AlmaLinux 8libtiff-develFixed4.0.9-32.el8_10ALSA-2024:5079
AlmaLinux 8libtiff-toolsFixed4.0.9-32.el8_10ALSA-2024:5079
Rocky Linux 8libtiffFixed0:4.0.9-32.el8_10RLSA-2024:5079

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.

Vendor advisories:

References

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.