Skip to main content

Libtiff CVE-2023-52356

HIGH
Heap-based Buffer Overflow (CWE-122)
2024-01-25 secalert@redhat.com
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious TIFF file
  2. Delivery
    Delivers file to vulnerable application
  3. Exploit
    Application invokes TIFFReadRGBATileExt()
  4. Execution
    Heap-buffer overflow triggered
  5. Persist
    Segmentation fault crashes service
  6. Impact
    Denial of service achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to invoke the specific TIFFReadRGBATileExt() API function-not all libtiff-using applications call this particular extension API for tile reading. The malicious TIFF file must use tiled image organization rather than stripped format, as the vulnerability is specific to tile processing logic. The target system must accept and process TIFF files from untrusted or attacker-controlled sources, such as user uploads, email attachments, or network-retrieved images. Default libtiff installations are vulnerable without configuration changes, though the attack surface depends on application integration patterns. Limiting factors include: many applications use standard TIFFReadRGBATile() or strip-based reading functions instead of the extended tile API; some environments only process TIFF files from trusted internal sources; applications with TIFF format validation or sanitization may reject malformed files before reaching the vulnerable code path. Despite network attack vector and no authentication requirement (AV:N/PR:N), practical exploitation is constrained to applications specifically designed to process arbitrary TIFF content through this tile extension interface.

Impact

Real-world risk assessment reveals moderate-to-low exploitation priority despite the HIGH CVSS 7.5 score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates optimal exploitability conditions-network-accessible, low complexity, no authentication or user interaction required. However, the EPSS score of 0.72% (72nd percentile) suggests only modest exploitation probability in the wild, indicating this is not a widespread attacker target. The vulnerability is limited to denial of service impact (A:H, C:N, I:N), with no confidentiality or integrity compromise, reducing business impact compared to code execution vulnerabilities. No CISA KEV listing confirms no known active exploitation campaigns. The attack surface is constrained to applications that: (1) accept TIFF files from untrusted sources, (2) specifically invoke TIFFReadRGBATileExt() rather than other libtiff APIs, and (3) process tiled (not stripped) TIFF formats. Many applications use alternative libtiff functions or only process trusted image sources, significantly limiting practical exposure. Prioritize patching for internet-facing image processing services, web applications accepting TIFF uploads, and document conversion pipelines; deprioritize for internal-only systems processing trusted content.

Exploit ScenarioDerived

An attacker crafts a malicious TIFF file with manipulated tile metadata (dimensions, offsets, or compression parameters) designed to trigger incorrect buffer allocation in TIFFReadRGBATileExt(). The attacker uploads this file to a vulnerable web application's image processing endpoint, document conversion service, or email attachment scanner that uses libtiff. When the application invokes TIFFReadRGBATileExt() to render or convert the image, the corrupted tile data causes a heap-buffer overflow leading to segmentation fault, crashing the processing service or worker thread and denying service to legitimate users. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Apr 17, 2026

Heap-buffer overflow in libtiff's TIFFReadRGBATileExt() API allows remote unauthenticated attackers to trigger denial of service via crafted TIFF files. The vulnerability (CWE-122) has a CVSS 7.5 HIGH rating with network attack vector and low complexity, though EPSS score of 0.72% (72nd percentile) suggests moderate real-world exploitation likelihood. Vendor patches are available through Red Hat advisories and upstream GitLab merge request #546. The flaw affects libtiff library across multiple Red Hat Enterprise Linux 8.x and 9.x deployments, requiring applications that process untrusted TIFF images through this specific API function.

Earlier versions of this analysis (2)
v2 Apr 17, 2026 - 12:29 cvss changed CVSS 7.5

Heap-buffer overflow in libtiff's TIFFReadRGBATileExt() API allows remote attackers to trigger denial of service by processing specially crafted TIFF files. Affects libtiff library and downstream integrations in Red Hat Enterprise Linux 8.x and 9.x. CVSS 7.5 (High) reflects network-accessible attack vector requiring no authentication or user interaction. EPSS score of 0.72% (72nd percentile) indicates moderate exploitation likelihood. Vendor patches available via Red Hat advisories and upstream GitLab merge request, with multiple RHEL security updates released between 2024-2026.

v1 Mar 26, 2026 - 19:22 CVSS 7.5

RemediationAI

Apply vendor-released patches immediately for affected Red Hat Enterprise Linux systems through the appropriate RHSA advisory for your version (RHSA-2024:5079 and subsequent updates available at https://access.redhat.com/errata/). For upstream libtiff installations, apply the fix provided in GitLab merge request #546 (https://gitlab.com/libtiff/libtiff/-/merge_requests/546) which addresses the heap-buffer overflow in TIFFReadRGBATileExt(). If immediate patching is not feasible, implement the following compensating controls with noted trade-offs: (1) Disable TIFF processing functionality in affected applications if not business-critical-eliminates risk but impacts image format support; (2) Restrict TIFF file uploads to authenticated trusted users only and implement file source validation-reduces attack surface but doesn't eliminate internal threat; (3) Deploy input validation to reject tiled TIFF files (force stripped format only) at application boundary-may break legitimate tiled TIFF workflows; (4) Isolate TIFF processing in sandboxed containers or separate low-privilege processes with resource limits to contain denial of service impact-adds operational complexity and latency. Monitor Red Hat Bugzilla #2251344 (https://bugzilla.redhat.com/show_bug.cgi?id=2251344) for additional technical details and deployment guidance.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Libtiff is a widely-used open-source library for reading and writing TIFF (Tagged Image File Format) image files, commonly integrated into image processing applications, document viewers, and web services. The TIFFReadRGBATileExt() API function provides extended tile-based RGBA image reading capabilities. This vulnerability manifests as a heap-buffer overflow (CWE-122), a memory corruption class where writes exceed allocated heap buffer boundaries. The segmentation fault occurs during tile processing when parsing malformed TIFF metadata or image data structures. The affected CPE entries indicate vulnerability in the core libtiff library (cpe:2.3:a:libtiff:libtiff) and its integration within Red Hat Enterprise Linux 8.0 and 9.0 distributions (cpe:2.3:o:redhat:enterprise_linux). The heap overflow specifically targets the buffer management within the tile reading extension API, likely involving improper validation of tile dimensions, offsets, or buffer allocation calculations during TIFF file parsing.

Know when Libtiff gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Updated
Apr 17, 2026 - 14:30 vuln.today
v3 - CVSS changed
Analysis Updated
Apr 17, 2026 - 12:29 vuln.today
v2 - CVSS changed
Patch released
Mar 26, 2026 - 19:22 nvd
Patch available
CVE Published
Jan 25, 2024 - 20:15 nvd
HIGH 7.5

DescriptionNVD

A segment fault (SEGV) flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFReadRGBATileExt() API. This flaw allows a remote attacker to cause a heap-buffer overflow, leading to a denial of service.

Executive ViewAI

Why It Matters

CVE-2023-52356 is a heap-buffer overflow in libtiff's TIFFReadRGBATileExt() function that allows remote attackers to crash applications processing untrusted TIFF files, affecting any organization using Red Hat Enterprise Linux 8.x/9.x or applications dependent on vulnerable libtiff versions. This vulnerability poses operational risk to systems that handle image uploads, document processing, or automated TIFF conversion workflows, with moderate real-world exploitation likelihood (EPSS 0.72%).

Business Impact: High
Compensating Controls

Apply vendor patch. If patching is delayed: (1) Restrict TIFF file uploads to trusted internal sources only; (2) Implement file-type validation and reject TIFF files from untrusted users at ingestion points; (3) Run TIFF-processing services in sandboxed containers with resource limits to contain denial-of-service impact; (4) Monitor for application crashes or unusual resource consumption on systems handling TIFF files.

Threat Intelligence Overview

EPSS Score
0.7%
Top 28% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:a:libtiff:libtiff:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
CVE-2012-4564 MEDIUM POC
6.8 Nov 11

ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote attackers to cause a deni

CVE-2015-8668 CRITICAL POC
9.8 Jan 08

Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier

CVE-2015-7554 CRITICAL POC
9.8 Jan 08

The _TIFFVGetField function in tif_dir.c in libtiff 4.0.6 allows attackers to cause a denial of service (invalid memory

CVE-2016-9534 CRITICAL POC
9.8 Nov 22

tif_write.c in libtiff 4.0.6 has an issue in the error code path of TIFFFlushData1() that didn't reset the tif_rawcc and

CVE-2017-17095 HIGH POC
8.8 Dec 02

tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (TIFFSetupStrips heap-b

CVE-2016-8331 HIGH POC
8.1 Oct 28

An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. Rated

CVE-2017-5225 HIGH POC
8.8 Jan 12

LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via

CVE-2017-17973 HIGH POC
8.8 Dec 29

In LibTIFF 4.0.8, there is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. Rated high severity

CVE-2017-9935 HIGH POC
8.8 Jun 26

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. Rated high se

CVE-2017-17942 HIGH POC
8.8 Dec 28

In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c. Rated high se

CVE-2023-25434 HIGH POC
8.8 Jun 14

libtiff 4.5.0 is vulnerable to Buffer Overflow via extractContigSamplesBytes() at /libtiff/tools/tiffcrop.c:3215. Rated

CVE-2022-3970 HIGH POC
8.8 Nov 13

A vulnerability was found in LibTIFF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no aut

References

Advisories & patches
PATCH https://gitlab.com/libtiff/libtiff/-/issues/622 PATCH https://gitlab.com/libtiff/libtiff/-/merge_requests/546 ADVISORY https://vuldb.com/vuln/251961 REF http://seclists.org/fulldisclosure/2024/Jul/16 REF http://seclists.org/fulldisclosure/2024/Jul/17 REF http://seclists.org/fulldisclosure/2024/Jul/18 REF http://seclists.org/fulldisclosure/2024/Jul/19 REF http://seclists.org/fulldisclosure/2024/Jul/20 REF http://seclists.org/fulldisclosure/2024/Jul/21 REF http://seclists.org/fulldisclosure/2024/Jul/22 REF http://seclists.org/fulldisclosure/2024/Jul/23 REF https://access.redhat.com/errata/RHSA-2024:5079 REF https://access.redhat.com/errata/RHSA-2025:20801 REF https://access.redhat.com/errata/RHSA-2025:21994 REF https://access.redhat.com/errata/RHSA-2025:23078 REF https://access.redhat.com/errata/RHSA-2025:23079 REF https://access.redhat.com/errata/RHSA-2025:23080 REF https://access.redhat.com/errata/RHSA-2026:16174 REF https://access.redhat.com/errata/RHSA-2026:25096 REF https://access.redhat.com/errata/RHSA-2026:3461 REF https://access.redhat.com/errata/RHSA-2026:3462 REF https://access.redhat.com/errata/RHSA-2026:5958 REF https://access.redhat.com/errata/RHSA-2026:7081 REF https://access.redhat.com/errata/RHSA-2026:7304 REF https://access.redhat.com/errata/RHSA-2026:7335 REF https://access.redhat.com/errata/RHSA-2026:8746 REF https://access.redhat.com/errata/RHSA-2026:8747 REF https://access.redhat.com/errata/RHSA-2026:8748 REF https://access.redhat.com/security/cve/CVE-2023-52356 REF https://bugzilla.redhat.com/show_bug.cgi?id=2251344 REF https://lists.debian.org/debian-lts-announce/2024/03/msg00011.html REF https://lists.debian.org/debian-lts-announce/2025/01/msg00019.html REF https://support.apple.com/kb/HT214116 REF https://support.apple.com/kb/HT214117 REF https://support.apple.com/kb/HT214118 REF https://support.apple.com/kb/HT214119 REF https://support.apple.com/kb/HT214120 REF https://support.apple.com/kb/HT214122 REF https://support.apple.com/kb/HT214123 REF https://support.apple.com/kb/HT214124

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy