CVE-2016-10266
Medium · 5.5CVSS
5.5
EPSS
1.7%
Published
Mar 24, 2017
CISA due date
—
Cloudanix analysis
A specially made picture file can make some programs crash when they try to open it.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Crafted TIFF image triggers divide-by-zero in libtiff/tif_read.c during read processing, causing application crash and denial of service.
Why it matters to the business
Applications that process TIFF images may crash unexpectedly when handling malicious files, leading to service disruption or loss of availability until restart.
How an attack unfolds
An attacker creates a specially malformed TIFF file that causes a divide-by-zero error in the TIFF reader library; the file is then supplied to any application using the vulnerable LibTIFF version, resulting in an immediate crash without further code execution.
How to fix it
Upgrade affected LibTIFF packages to versions that contain the fix; for the listed Chainguard images use actions-runner-controller-fips 0.9.3-r1 or later and actions-runner-controller-fips-compat 0.9.3-r1 or later. Rebuild and redeploy any containers that embed the vulnerable library.
How to confirm the fix worked
Confirm the running libtiff version is at or above the fixed release; test by attempting to open a known triggering TIFF and verifying the application no longer crashes.
Typical attack path
- Generate TIFF image containing values that force division by zero in tif_read.c:351
- Deliver the image via email, web upload, or file share to a target application
- Victim application opens or parses the image using the vulnerable library
- Process crashes, producing denial of service
How to detect it
Review application logs and crash dumps for segmentation faults or arithmetic exceptions occurring immediately after TIFF file access; correlate with inbound untrusted image files.
What your security team should do
- Apply the listed fixed package versions immediately in build pipelines
- Scan container images and dependencies for older LibTIFF versions
- Add TIFF handling to file-type allow-lists or sandbox image processing where feasible
The record
LibTIFF 4.0.7 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted TIFF image, related to libtiff/tif_read.c:351:22.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | tiff | 0 | 4.0.7-2 |
| Debian:12 | tiff | 0 | 4.0.7-2 |
| Debian:13 | tiff | 0 | 4.0.7-2 |
| Debian:7 | tiff | 0 | 4.0.2-6+deb7u11 |
| Debian:8 | tiff | 0 | 4.0.3-12.3+deb8u3 |
| Mageia:5 | libtiff | 0 | 4.0.8-1.mga5 |
| SUSE:Linux Enterprise Desktop 12 SP1 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Server 11 SP4 | tiff | 0 | 3.8.2-141.169.9.1 |
| SUSE:Linux Enterprise Server 12 SP1 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Server 12 SP2 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | tiff | 0 | 3.8.2-141.169.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | tiff | 0 | 3.8.2-141.169.9.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | tiff | 0 | 4.0.7-43.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | tiff | 0 | 4.0.7-43.1 |
| Ubuntu:14.04:LTS | tiff | 0 | 4.0.3-7ubuntu0.8 |
| Ubuntu:16.04:LTS | tiff | 0 | 4.0.6-1ubuntu0.3 |
| openSUSE:Tumbleweed | tiff | 0 | 4.3.0-1.3 |
Related vulnerabilities
- 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
- CVE-2023-3576 A memory leak flaw was found in Libtiff's tiffcrop utility. Also affects tiff
- CVE-2023-30086 Buffer Overflow vulnerability found in Libtiff V.4.0.7 allows a local attacker to cause a… Also affects tiff
- CVE-2017-17095 tools/pal2rgb.c in pal2rgb in LibTIFF 4.0.9 allows remote attackers to cause a denial of… Also affects tiff
- CVE-2014-8127 LibTIFF 4.0.3 allows remote attackers to cause a denial of service (out-of-bounds read… Also affects tiff
- CVE-2016-3186 Buffer overflow in the readextension function in gif2tiff.c in LibTIFF 4.0.6 allows… Also affects tiff
- CVE-2015-8665 tif_getimage.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service… Also affects tiff