Cloudanix VulnDB

CVE-2017-5563

High · 8.8

CVSS

8.8

EPSS

3.4%

Published

Jan 23, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in image-handling software can let attackers crash programs or run harmful code simply by opening a specially made picture file.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer over-read in tif_lzw.c during LZW decompression of crafted BMP images processed by bmp2tiff, enabling denial of service or potential code execution.

Why it matters to the business

Potential application crashes or remote code execution in image-handling workflows could disrupt services or lead to system compromise; low immediate risk given age, low EPSS trend, and absence from KEV or ransomware campaigns, though downstream dependents in ecosystems like karpenter increase exposure surface.

How an attack unfolds

An attacker creates a malicious BMP image that triggers the LZW buffer over-read in LibTIFF 4.0.7 and supplies it to the bmp2tiff tool; no named threat actors or campaigns are associated with this CVE.

How to fix it

Upgrade affected karpenter-0.23 installations to the fixed version 0.23.0-r9 or later to incorporate the patched LibTIFF dependency.

How to confirm the fix worked

Verify karpenter package version is at or above 0.23.0-r9 and confirm LibTIFF is updated beyond 4.0.7; test bmp2tiff against known malicious BMP samples in a controlled environment.

Typical attack path

  1. Craft a BMP image with malformed LZW data targeting tif_lzw.c
  2. Deliver the image to an application or script invoking bmp2tiff
  3. Trigger heap over-read to cause crash or attempt code execution

How to detect it

Review application logs for crashes or abnormal behavior in image conversion tools; inspect file-processing pipelines for unexpected BMP inputs; no specific threat-actor artifacts are known.

What your security team should do

  • Immediately upgrade karpenter to 0.23.0-r9 where deployed
  • Inventory all systems using LibTIFF 4.0.7 or earlier
  • Disable or sandbox bmp2tiff usage until patched
  • Monitor EPSS trend for any increase indicating rising exploit likelihood

The record

LibTIFF version 4.0.7 is vulnerable to a heap-based buffer over-read in tif_lzw.c resulting in DoS or code execution via a crafted bmp image to tools/bmp2tiff.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 tiff 0 No fix
Debian:11 tiff 0 No fix
Debian:12 tiff 0 No fix
Debian:13 tiff 0 No fix
Debian:14 tiff 0 4.0.7-1
Ubuntu:14.04:LTS tiff 0 4.0.3-7ubuntu0.9
Ubuntu:16.04:LTS tiff 0 4.0.6-1ubuntu0.4

Related vulnerabilities