---
id: CVE-2023-52355
title: >-
  An out-of-memory flaw was found in libtiff that could be triggered by passing
  a crafted tiff file to the TIFFRasterScanlineSize64() API
summary: >-
  An out-of-memory flaw was found in libtiff that could be triggered by passing
  a crafted tiff file to the TIFFRasterScanlineSize64() API. This flaw allows a
  remote attacker to cause a denial of service via a crafted input with a size
  smal…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
  - CWE-787
vendor: libtiff
product: libtiff
affected:
  - libtiff < 4.6.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
patched:
  - libtiff 4.6.0
published: '2024-01-25'
updated: '2026-07-20'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52355'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:20801'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:21994'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:23078'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:23079'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:23080'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3461'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:3462'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:41892'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2023-52355'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2251326'
    label: secalert@redhat.com
  - url: 'https://gitlab.com/libtiff/libtiff/-/issues/621'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2023-52355'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2251326'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://gitlab.com/libtiff/libtiff/-/issues/621'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.01829
epssPercentile: 0.77941
ingestedAt: '2026-07-20T05:36:39.129Z'
---

## Overview

An out-of-memory flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFRasterScanlineSize64() API. This flaw allows a remote attacker to cause a denial of service via a crafted input with a size smaller than 379 KB.

## Affected

- `libtiff < 4.6.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`

## Remediation

Upgrade past the affected range:

- `libtiff 4.6.0`
