Libtiff
CVE-2023-52356
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious TIFF file
-
DeliveryDelivers file to vulnerable application
-
ExploitApplication invokes TIFFReadRGBATileExt()
-
ExecutionHeap-buffer overflow triggered
-
PersistSegmentation fault crashes service
-
ImpactDenial 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
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
Lifecycle Timeline
4DescriptionNVD
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
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%).
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
ppm2tiff does not check the return value of the TIFFScanlineSize function, which allows remote attackers to cause a deni
Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier
The _TIFFVGetField function in tif_dir.c in libtiff 4.0.6 allows attackers to cause a denial of service (invalid memory
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
tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of service (TIFFSetupStrips heap-b
An exploitable remote code execution vulnerability exists in the handling of TIFF images in LibTIFF version 4.0.6. Rated
LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via
In LibTIFF 4.0.8, there is a heap-based use-after-free in the t2p_writeproc function in tiff2pdf.c. Rated high severity
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
In LibTIFF 4.0.9, there is a heap-based buffer over-read in the function PackBitsEncode in tif_packbits.c. Rated high se
libtiff 4.5.0 is vulnerable to Buffer Overflow via extractContigSamplesBytes() at /libtiff/tools/tiffcrop.c:3215. Rated
A vulnerability was found in LibTIFF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no aut
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB