CVE-2016-9538
libtiff: Integer overflow leads to reading undefined buffer in readContigStripsIntoBuffer()
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
tools/tiffcrop.c in libtiff 4.0.6 reads an undefined buffer in readContigStripsIntoBuffer() because of a uint16 integer overflow. Reported as MSVR 35100.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | tiff | 4.0.7-1 |
| debian 12 | tiff | 4.0.7-1 |
| debian 13 | tiff | 4.0.7-1 |
| debian 14 | tiff | 4.0.7-1 |
| debian 7 | tiff | 4.0.2-6+deb7u9 |
| debian 8 | tiff | 4.0.3-12.3+deb8u2 |
| echo | tiff | 4.0.7-1 |
| Red Hat | compat-libtiff3, libtiff, libtiff-devel and 2 more | no fix listed |
| root.io debian 11 | rootio-tiff | 4.0.7-1 |
| root.io debian 12 | rootio-tiff | 4.0.7-1 |
| root.io debian 13 | rootio-tiff | 4.0.7-1 |
| seal Red Hat 7 | libtiff, seal-libtiff | 4.0.3-35.el7+sp8 |
Show all 22 entries from 17 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | tiff | 4.0.7-1 |
| debian 12 | tiff | 4.0.7-1 |
| debian 13 | tiff | 4.0.7-1 |
| debian 14 | tiff | 4.0.7-1 |
| debian 7 | tiff | 4.0.2-6+deb7u9 |
| debian 8 | tiff | 4.0.3-12.3+deb8u2 |
| echo | tiff | 4.0.7-1 |
| Red Hat | compat-libtiff3 | no fix listed |
| Red Hat | libtiff | no fix listed |
| Red Hat | libtiff-devel | no fix listed |
| Red Hat | libtiff-static | no fix listed |
| Red Hat | libtiff-tools | no fix listed |
| root.io debian 11 | rootio-tiff | 4.0.7-1 |
| root.io debian 12 | rootio-tiff | 4.0.7-1 |
| root.io debian 13 | rootio-tiff | 4.0.7-1 |
| seal Red Hat 7 | libtiff | 4.0.3-35.el7+sp8 |
| seal Red Hat 7 | seal-libtiff | 4.0.3-35.el7+sp8 |
| ubuntu 14.04 | tiff | 4.0.3-7ubuntu0.6 |
| ubuntu 14.04-ESM | tiff | 4.0.3-7ubuntu0.6 |
| ubuntu 16.04 | tiff | 4.0.6-1ubuntu0.1 |
| ubuntu 16.04-ESM | tiff | 4.0.6-1ubuntu0.1 |
| ubuntu 16.10 | tiff | 4.0.6-2ubuntu0.1 |
References
- http://www.debian.org/security/2017/dsa-3762
- http://www.securityfocus.com/bid/94484
- http://www.securityfocus.com/bid/94753
- https://access.redhat.com/security/cve/CVE-2016-9538
- https://github.com/vadz/libtiff/commit/43c0b81a818640429317c80fea1e66771e85024b#diff-c8b4b355f9b5c06d585b23138e1c185f
- https://nvd.nist.gov/vuln/detail/CVE-2016-9538
- https://ubuntu.com/security/notices/USN-3212-1
- https://www.cve.org/CVERecord?id=CVE-2016-9538