{"id":"UBUNTU-CVE-2016-3658","details":"The TIFFWriteDirectoryTagLongLong8Array function in tif_dirwrite.c in the tiffset tool in LibTIFF 4.0.6 and earlier allows remote attackers to cause a denial of service (out-of-bounds read) via vectors involving the ma variable.","modified":"2026-02-04T02:26:31.862353Z","published":"2016-10-03T00:00:00Z","related":["USN-3212-1"],"upstream":["CVE-2016-3658"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-3658"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2016/04/08/12"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3212-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-3658"}],"affected":[{"package":{"name":"tiff","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.3-7ubuntu0.6?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.6"}]}],"versions":["4.0.2-4ubuntu3","4.0.3-5ubuntu1","4.0.3-6","4.0.3-6ubuntu1","4.0.3-7","4.0.3-7ubuntu0.1","4.0.3-7ubuntu0.2","4.0.3-7ubuntu0.3","4.0.3-7ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiff-tools","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiff4-dev","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiff5","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiff5-alt-dev","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiff5-dev","binary_version":"4.0.3-7ubuntu0.6"},{"binary_name":"libtiffxx5","binary_version":"4.0.3-7ubuntu0.6"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3658.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.6-1ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.1"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.6-1ubuntu0.1"},{"binary_name":"libtiff-tools","binary_version":"4.0.6-1ubuntu0.1"},{"binary_name":"libtiff5","binary_version":"4.0.6-1ubuntu0.1"},{"binary_name":"libtiff5-dev","binary_version":"4.0.6-1ubuntu0.1"},{"binary_name":"libtiffxx5","binary_version":"4.0.6-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-3658.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}