---
id: CVE-2023-6228
title: 'Libtiff: heap-based buffer overflow in cpstriptotile() in tools/tiffcp.c'
summary: >-
  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.
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cvssSource: cna
cwe:
  - CWE-787
vendor: Red Hat
product: libtiff
affected:
  - libtiff (all versions)
  - libtiff (all versions)
  - libtiff
  - compat-libtiff3
  - libtiff
  - compat-libtiff3 (all versions)
published: '2023-12-18'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T13:40:17.630Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-6228'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2024:2289'
    label: 'RHSA-2024:2289'
  - url: 'https://access.redhat.com/errata/RHSA-2024:5079'
    label: 'RHSA-2024:5079'
  - url: 'https://access.redhat.com/security/cve/CVE-2023-6228'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2240995'
    label: RHBZ#2240995
tags:
  - cve.org
epss: 0.00399
epssPercentile: 0.34356
ingestedAt: '2026-11-06T13:52:17.103Z'
---

## Overview

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.

## Affected

- `libtiff (all versions)`
- `libtiff (all versions)`
- `libtiff`
- `compat-libtiff3`
- `libtiff`
- `compat-libtiff3 (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
