Cloudanix VulnDB

CVE-2017-9117

Medium · 4.0

CVSS

4.0

EPSS

2.2%

Published

May 21, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in software that reads image files can let attackers crash programs by sending specially made pictures.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Missing validation of biWidth and biHeight fields in BMP headers allows a heap-based buffer over-read when processing malformed images in LibTIFF.

Why it matters to the business

Applications handling BMP images may crash or experience denial of service; low exploitation likelihood but available public exploits increase urgency for systems still using the vulnerable library version.

How an attack unfolds

An attacker crafts a BMP image with biWidth and biHeight values that do not match actual pixel data, then supplies the file to any LibTIFF-based BMP processing routine, triggering the over-read and potential crash.

How to fix it

Upgrade affected LibTIFF consumers to versions containing the fix; for vault-k8s-fips (Chainguard) update to 1.3.1-r2 or later.

How to confirm the fix worked

Verify the installed LibTIFF version is newer than 4.0.6, then test BMP parsing with dimension-mismatched sample images to confirm absence of over-read behavior.

Typical attack path

  1. Craft a malicious BMP file with mismatched header dimensions
  2. Deliver the file to a target application that uses LibTIFF for image conversion or parsing
  3. Trigger processing of the image to induce the buffer over-read and application instability

How to detect it

Review application logs for crashes or segmentation faults during BMP processing; inspect file-handling code paths for LibTIFF calls and correlate with unexpected image inputs.

What your security team should do

  • Apply the listed fixed version immediately given public exploit availability
  • Scan all image-processing pipelines for LibTIFF dependencies and prioritize updates
  • Monitor EPSS trend and remove any remaining vulnerable instances

The record

In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).

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 No fix
SUSE:Linux Enterprise Server 11 SP4 tiff 0 3.8.2-141.169.22.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 tiff 0 3.8.2-141.169.22.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 tiff 0 3.8.2-141.169.22.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