| Name | CVE-2016-9536 | 
| Description | tools/tiff2pdf.c in libtiff 4.0.6 has out-of-bounds write vulnerabilities in heap allocated buffers in t2p_process_jpeg_strip(). Reported as MSVR 35098, aka "t2p_process_jpeg_strip heap-buffer-overflow." | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-795-1, DSA-3762-1 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| tiff (PTS) | bullseye | 4.2.0-1+deb11u5 | fixed | 
|  | bullseye (security) | 4.2.0-1+deb11u7 | fixed | 
|  | bookworm | 4.5.0-6+deb12u2 | fixed | 
|  | bookworm (security) | 4.5.0-6+deb12u3 | fixed | 
|  | trixie | 4.7.0-3 | fixed | 
|  | trixie (security) | 4.7.0-3+deb13u1 | fixed | 
|  | forky, sid | 4.7.1-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| tiff | source | wheezy | 4.0.2-6+deb7u9 |  | DLA-795-1 |  | 
| tiff | source | jessie | 4.0.3-12.3+deb8u2 |  | DSA-3762-1 |  | 
| tiff | source | (unstable) | 4.0.7-1 |  |  |  | 
| tiff3 | source | (unstable) | (not affected) |  |  |  | 
Notes
- tiff3 <not-affected> (tiff3 not shipping tools)
https://github.com/vadz/libtiff/commit/83a4b92815ea04969d494416eaae3d4c6b338e4a#diff-5173a9b3b48146e4fd86d7b9b346115e