| Name | CVE-2016-6223 | 
| Description | The TIFFReadRawStrip1 and TIFFReadRawTile1 functions in tif_read.c in libtiff before 4.0.7 allows remote attackers to cause a denial of service (crash) or possibly obtain sensitive information via a negative index in a file-content buffer. | 
| 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-610-1, DLA-693-1, DSA-3762-1 | 
| Debian Bugs | 842270 | 
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+deb7u7 | DLA-693-1 | ||
| tiff | source | jessie | 4.0.3-12.3+deb8u2 | DSA-3762-1 | ||
| tiff | source | (unstable) | 4.0.6-2 | 842270 | ||
| tiff3 | source | wheezy | 3.9.6-11+deb7u1 | DLA-610-1 | ||
| tiff3 | source | (unstable) | (unfixed) | 
https://www.openwall.com/lists/oss-security/2016/07/13/3
Upstream patch: https://github.com/vadz/libtiff/commit/0ba5d8814a17a64bdb8d9035f4c533f3f3f4b496