Cloudanix VulnDB

CVE-2015-8665

Medium · 5.5

CVSS

5.5

EPSS

2.9%

Published

Apr 13, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in certain image-handling libraries can cause programs to crash when they try to open specially made picture files.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds read in LibTIFF tif_getimage.c triggered by a malformed SamplesPerPixel tag in a TIFF image, resulting in denial of service via application crash.

Why it matters to the business

Applications built with the listed Ruby packages on Ubuntu may experience unexpected crashes when handling untrusted TIFF images, causing operational disruption in image-processing workflows; the issue has remained low-risk with stable low exploit probability over a decade.

How an attack unfolds

An attacker crafts a TIFF image containing an invalid SamplesPerPixel tag value and delivers it to a victim who opens the file using an application linked to the vulnerable LibTIFF library present in the affected Ruby packages.

How to fix it

Upgrade ruby1.9.1 on Ubuntu 14.04 to 1.9.3.484-2ubuntu1.3, ruby2.0 on Ubuntu 14.04 to 2.0.0.484-1ubuntu2.4, and ruby2.3 on Ubuntu 16.04 to 2.3.1-2~16.04.2; rebuild or restart dependent applications after the update.

How to confirm the fix worked

Confirm installed package versions match the listed fixed releases using dpkg or apt; test image-processing functionality with both benign and boundary-case TIFF files to ensure no crash occurs.

Typical attack path

  1. Craft malicious TIFF image with crafted SamplesPerPixel tag
  2. Deliver the image to the target via email, download, or web page
  3. Victim opens the image in an affected Ruby-linked application
  4. LibTIFF performs out-of-bounds read leading to crash

How to detect it

Review application and system logs for unexpected crashes during TIFF image processing; because the vulnerability has not been observed in active campaigns, focus on availability monitoring rather than attacker artifacts.

What your security team should do

  • Apply the listed package updates on all Ubuntu systems running the affected Ruby versions
  • Inventory applications that depend on Ruby TIFF handling and prioritize patching
  • Disable TIFF processing in unneeded components until patches are deployed

The record

tif_getimage.c in LibTIFF 4.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) via the SamplesPerPixel tag in a TIFF image.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 tiff 0 4.0.6-1
Debian:12 tiff 0 4.0.6-1
Debian:13 tiff 0 4.0.6-1
Debian:6.0 tiff 0 3.9.4-5+squeeze13
Debian:7 tiff 0 4.0.2-6+deb7u5
Debian:7 tiff3 0 3.9.6-11+deb7u1
Debian:8 tiff 0 4.0.3-12.3+deb8u1
Mageia:5 libtiff 0 4.0.6-1.2.mga5
Red Hat:enterprise_linux:6::client libtiff 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::client libtiff-debuginfo 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::client libtiff-devel 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::client libtiff-static 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::computenode libtiff 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::computenode libtiff-debuginfo 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::computenode libtiff-devel 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::computenode libtiff-static 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::server libtiff 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::server libtiff-debuginfo 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::server libtiff-devel 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::server libtiff-static 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::workstation libtiff 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::workstation libtiff-debuginfo 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::workstation libtiff-devel 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:6::workstation libtiff-static 0 0:3.9.4-18.el6_8
Red Hat:enterprise_linux:7::client libtiff 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::client libtiff-debuginfo 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::client libtiff-devel 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::client libtiff-static 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::client libtiff-tools 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::computenode libtiff 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::computenode libtiff-debuginfo 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::computenode libtiff-devel 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::computenode libtiff-static 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::computenode libtiff-tools 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::server libtiff 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::server libtiff-debuginfo 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::server libtiff-devel 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::server libtiff-static 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::server libtiff-tools 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::workstation libtiff 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::workstation libtiff-debuginfo 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::workstation libtiff-devel 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::workstation libtiff-static 0 0:4.0.3-25.el7_2
Red Hat:enterprise_linux:7::workstation libtiff-tools 0 0:4.0.3-25.el7_2
SUSE:Linux Enterprise Point of Sale 11 SP3 tiff 0 3.8.2-141.169.34.1
SUSE:Linux Enterprise Server 11 SP4-LTSS tiff 0 3.8.2-141.169.34.1
Ubuntu:14.04:LTS tiff 0 4.0.3-7ubuntu0.4
Ubuntu:16.04:LTS tiff 0 4.0.6-1
openSUSE:Tumbleweed tiff 0 4.0.7-1.1

Related vulnerabilities