CVE-2023-52355
High · 7.5CVSS
7.5
EPSS
1.8%
Published
Jan 25, 2024
CISA due date
—
Cloudanix analysis
A bug in image handling software can let attackers crash programs by sending a specially made picture file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An out-of-memory condition triggered in TIFFRasterScanlineSize64() when processing a specially crafted TIFF image file smaller than 379 KB, leading to denial of service.
Why it matters to the business
Applications using libtiff may crash or become unresponsive when handling malicious image files, disrupting services that process TIFF images and requiring restarts or resource recovery.
How an attack unfolds
Attacker crafts a small TIFF file that triggers excessive memory allocation in the vulnerable function and delivers it to a target application using libtiff for parsing.
How to fix it
Update libtiff to the fixed version in commit 8b20804fc0ddeaa93667b799b5e1a2a7dc9e3fb2 or later.
How to confirm the fix worked
Verify the installed libtiff version includes the commit 8b20804fc0ddeaa93667b799b5e1a2a7dc9e3fb2; test with crafted TIFF files to ensure no crash.
Typical attack path
- Craft malicious TIFF file exploiting the size calculation flaw
- Deliver the file to a vulnerable libtiff-dependent application via email, web upload, or network share
- Trigger processing of the file to cause out-of-memory condition
- Resulting denial of service on the affected system
How to detect it
Look for applications crashing with out-of-memory errors when processing TIFF files; check logs for TIFFRasterScanlineSize64 calls with anomalous inputs.
What your security team should do
- Update libtiff to the patched commit immediately
- Implement input validation or sandboxing for TIFF processing
- Monitor for unusual memory usage in image processing applications
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Chainguard | tiff | 0 | 0 |
| Chainguard | tiff-dev | 0 | 0 |
| Chainguard | tiff-doc | 0 | 0 |
| Debian:11 | tiff | 0 | No fix |
| Debian:12 | tiff | 0 | No fix |
| Debian:13 | tiff | 0 | 4.5.1+git230720-4 |
| Ubuntu:20.04:LTS | neuron | 0 | No fix |
| Ubuntu:20.04:LTS | qtwebengine-opensource-src | 0 | No fix |
| Ubuntu:20.04:LTS | texmaker | 0 | No fix |
| Ubuntu:20.04:LTS | tiff | 0 | No fix |
| Ubuntu:22.04:LTS | neuron | 0 | No fix |
| Ubuntu:22.04:LTS | qtwebengine-opensource-src | 0 | No fix |
| Ubuntu:22.04:LTS | texmaker | 0 | No fix |
| Ubuntu:22.04:LTS | tiff | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | gdal | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | tiff | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gdal | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | texmaker | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | tiff | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | neuron | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | qtwebengine-opensource-src | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | texmaker | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | tiff | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | neuron | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | qtwebengine-opensource-src | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | texmaker | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | neuron | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | qtwebengine-opensource-src | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | texmaker | 0 | No fix |
| Wolfi | tiff | 0 | 0 |
| Wolfi | tiff-dev | 0 | 0 |
| Wolfi | tiff-doc | 0 | 0 |
Related vulnerabilities
- CVE-2025-9165 A flaw has been found in LibTIFF 4.7.0. Also affects tiff
- CVE-2025-8961 A weakness has been identified in LibTIFF 4.7.0. Also affects tiff
- CVE-2025-8851 A vulnerability was determined in LibTIFF up to 4.5.1. Also affects tiff
- CVE-2024-13978 A vulnerability was found in LibTIFF up to 4.7.0. Also affects tiff
- CVE-2025-8176 A vulnerability was found in LibTIFF up to 4.7.0. Also affects tiff
- CVE-2025-8177 A vulnerability was found in LibTIFF up to 4.7.0. Also affects tiff
- CVE-2023-52356 A segment fault (SEGV) flaw was found in libtiff that could be triggered by passing a… Also affects tiff
- CVE-2023-6277 An out-of-memory flaw was found in libtiff. Also affects tiff