---
id: CVE-2023-6277
title: 'Libtiff: out-of-memory in tiffopen via a craft file'
summary: >-
  An out-of-memory flaw was found in libtiff. Passing a crafted tiff file to
  TIFFOpen() API may allow a remote attacker to cause a denial of service via a
  craft input with size smaller than 379 KB.
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-400
vendor: Red Hat
product: libtiff
affected:
  - libtiff
  - compat-libtiff3
  - libtiff
  - compat-libtiff3 (all versions)
  - libtiff (all versions)
  - libtiff (all versions)
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2025-10-17T17:20:31.042625Z'
exploitAvailable: true
published: '2023-11-24'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T11:36:55.727Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-6277'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2023-6277'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2251311'
    label: RHBZ#2251311
  - url: 'https://gitlab.com/libtiff/libtiff/-/issues/614'
  - url: 'https://gitlab.com/libtiff/libtiff/-/merge_requests/545'
tags:
  - cve.org
  - exploit-available
epss: 0.01825
epssPercentile: 0.78873
ingestedAt: '2026-11-05T21:36:00.806Z'
---

## Overview

An out-of-memory flaw was found in libtiff. Passing a crafted tiff file to TIFFOpen() API may allow a remote attacker to cause a denial of service via a craft input with size smaller than 379 KB.

## Affected

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

## Remediation

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