Skip to content
Fencer Intel
critical 9.8

CVE-2016-9540 json

tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width.

published 2016-11-22 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-10346

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.7%
EPSS 3.7% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

tools/tiffcp.c in libtiff 4.0.6 has an out-of-bounds write on tiled images with odd tile width versus image width. Reported as MSVR 35103, aka "cpStripToTile heap-buffer-overflow."

Patch / fix

  • tiff Debian 14, Debian 13, Debian 12 4.0.7-1

debian advisories DEBIAN-CVE-2016-9540

  • tiff Ubuntu 14.04 LTS 4.0.3-7ubuntu0.6
  • tiff Ubuntu 16.04 LTS 4.0.6-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-9540

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libtiff RHEL 6 3.9.4-21.el6_8
  • libtiff RHEL 7 4.0.3-27.el7_3
  • libtiff-tools RHEL 7 4.0.3-27.el7_3

red hat advisories RHSA-2017:0225

  • tiff SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.8.2-141.169.9.1

suse advisories SUSE-SU-2018:1835-1

  • libtiff Arch Linux 4.0.7-1
  • lib32-libtiff Arch Linux 4.0.7-1

arch linux advisories AVG-85AVG-86

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-9540 updated cvss 7.0

libtiff: cpStripToTile heap-buffer-overflow

  • Red Hat Enterprise Linux 5 libtiff Red Hat Enterprise Linux 7 compat-libtiff3
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Client Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux ComputeNode (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux Desktop (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Desktop Optional (v. 6) libtiff-devel 3.9.4-21.el6_8, libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8
    +10 more products
    Red Hat Enterprise Linux HPC Node (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux HPC Node Optional (v. 6) libtiff-devel 3.9.4-21.el6_8, libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Server (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Server (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Server Optional (v. 6) libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Server Optional (v. 7) libtiff-tools 4.0.3-27.el7_3 Red Hat Enterprise Linux Workstation (v. 6) libtiff 3.9.4-21.el6_8 Red Hat Enterprise Linux Workstation (v. 7) libtiff 4.0.3-27.el7_3 Red Hat Enterprise Linux Workstation Optional (v. 6) libtiff-static 3.9.4-21.el6_8, libtiff-debuginfo 3.9.4-21.el6_8 Red Hat Enterprise Linux Workstation Optional (v. 7) libtiff-tools 4.0.3-27.el7_3
    fixed: vendor fix RHSA-2017:0225

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.68% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.