Quick answers
- Is CVE-2016-5317 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2016-5317 being exploited in the wild.
- How severe is CVE-2016-5317?
- Medium severity, with a CVSS score of 6.5, published 20 January 2017.
- Which products and versions are affected?
- Gnome Nautilus 3.18.5 and earlier; Libtiff 4.0.6 and earlier.
- Is there a fix for CVE-2016-5317?
- A patch was published on 2017-01-13: Debian released security update DSA-3762-1 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2016-5317 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2016-5317?
- Check whether you run Gnome Nautilus or Libtiff at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A heap-based buffer overflow exists in the PixarLogDecode function within libtiff.so (version 4.0.6 and earlier). The vulnerability is caused by insufficient bounds checking when processing PixarLog compressed TIFF images, leading to an out-of-bounds write that can corrupt adjacent heap memory. An attacker can exploit this by providing a malformed TIFF file; when a vulnerable application (such as GNOME Nautilus during thumbnail generation) attempts to decode the image, it triggers a segmentation fault during memory allocation or deallocation (e.g., in _int_free). While primarily a denial-of-service vector, heap corruption vulnerabilities can sometimes be leveraged for further exploitation depending on the memory allocator's state. Fixes are available in libtiff 4.0.7 and various downstream Linux distribution updates.
Affected products
- libtiff libtiff 4.0.6 and earlier
- GNOME nautilus 3.18.5 and earlier
Timeline
- 2016-06-15: disclosed: Public disclosure on oss-security mailing list
- 2017-01-13: patched: Debian released security update DSA-3762-1
- 2017-01-20: advisory: NVD published CVE-2016-5317
References
- http://lists.opensuse.org/opensuse-updates/2016-07/msg00087.html
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00060.html
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00090.html
- http://www.debian.org/security/2017/dsa-3762
- http://www.openwall.com/lists/oss-security/2016/06/15/10
- http://www.openwall.com/lists/oss-security/2016/06/15/5
- http://www.securityfocus.com/bid/91208