{"id":"UBUNTU-CVE-2023-3316","details":"A NULL pointer dereference in TIFFClose() is caused by a failure to open an output file (non-existent path or a path that requires permissions like /dev/null) while specifying zones.","modified":"2026-04-22T16:45:43.300402Z","published":"2023-06-19T12:15:00Z","related":["USN-6229-1","USN-6290-1"],"upstream":["CVE-2023-3316"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-3316"},{"type":"REPORT","url":"https://gitlab.com/libtiff/libtiff/-/merge_requests/468"},{"type":"REPORT","url":"https://research.jfrog.com/vulnerabilities/libtiff-nullderef-dos-xray-522144/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6229-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6290-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-3316"}],"affected":[{"package":{"name":"tiff","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.3-7ubuntu0.11+esm8?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.11+esm8"}]}],"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","4.0.3-7ubuntu0.6","4.0.3-7ubuntu0.7","4.0.3-7ubuntu0.8","4.0.3-7ubuntu0.9","4.0.3-7ubuntu0.10","4.0.3-7ubuntu0.11","4.0.3-7ubuntu0.11+esm1","4.0.3-7ubuntu0.11+esm2","4.0.3-7ubuntu0.11+esm3","4.0.3-7ubuntu0.11+esm4","4.0.3-7ubuntu0.11+esm5","4.0.3-7ubuntu0.11+esm6","4.0.3-7ubuntu0.11+esm7"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.3-7ubuntu0.11+esm8"},{"binary_name":"libtiff-tools","binary_version":"4.0.3-7ubuntu0.11+esm8"},{"binary_name":"libtiff5","binary_version":"4.0.3-7ubuntu0.11+esm8"},{"binary_name":"libtiffxx5","binary_version":"4.0.3-7ubuntu0.11+esm8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3316.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.6-1ubuntu0.8+esm11?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.8+esm11"}]}],"versions":["4.0.3-12.3ubuntu2","4.0.5-1","4.0.6-1","4.0.6-1ubuntu0.1","4.0.6-1ubuntu0.2","4.0.6-1ubuntu0.3","4.0.6-1ubuntu0.4","4.0.6-1ubuntu0.5","4.0.6-1ubuntu0.6","4.0.6-1ubuntu0.7","4.0.6-1ubuntu0.8","4.0.6-1ubuntu0.8+esm1","4.0.6-1ubuntu0.8+esm2","4.0.6-1ubuntu0.8+esm3","4.0.6-1ubuntu0.8+esm4","4.0.6-1ubuntu0.8+esm6","4.0.6-1ubuntu0.8+esm7","4.0.6-1ubuntu0.8+esm8","4.0.6-1ubuntu0.8+esm9","4.0.6-1ubuntu0.8+esm10"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.6-1ubuntu0.8+esm11"},{"binary_name":"libtiff-tools","binary_version":"4.0.6-1ubuntu0.8+esm11"},{"binary_name":"libtiff5","binary_version":"4.0.6-1ubuntu0.8+esm11"},{"binary_name":"libtiffxx5","binary_version":"4.0.6-1ubuntu0.8+esm11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3316.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.9-5ubuntu0.10+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-5ubuntu0.10+esm1"}]}],"versions":["4.0.8-5","4.0.8-6","4.0.9-1","4.0.9-2","4.0.9-3","4.0.9-4","4.0.9-4ubuntu1","4.0.9-5","4.0.9-5ubuntu0.1","4.0.9-5ubuntu0.2","4.0.9-5ubuntu0.3","4.0.9-5ubuntu0.4","4.0.9-5ubuntu0.5","4.0.9-5ubuntu0.6","4.0.9-5ubuntu0.7","4.0.9-5ubuntu0.8","4.0.9-5ubuntu0.9","4.0.9-5ubuntu0.10"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.9-5ubuntu0.10+esm1"},{"binary_name":"libtiff-tools","binary_version":"4.0.9-5ubuntu0.10+esm1"},{"binary_name":"libtiff5","binary_version":"4.0.9-5ubuntu0.10+esm1"},{"binary_name":"libtiffxx5","binary_version":"4.0.9-5ubuntu0.10+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3316.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.1.0+git191117-2ubuntu0.20.04.9?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0+git191117-2ubuntu0.20.04.9"}]}],"versions":["4.0.10+git191003-1","4.1.0+git191117-1","4.1.0+git191117-2","4.1.0+git191117-2build1","4.1.0+git191117-2ubuntu0.20.04.1","4.1.0+git191117-2ubuntu0.20.04.2","4.1.0+git191117-2ubuntu0.20.04.3","4.1.0+git191117-2ubuntu0.20.04.4","4.1.0+git191117-2ubuntu0.20.04.5","4.1.0+git191117-2ubuntu0.20.04.6","4.1.0+git191117-2ubuntu0.20.04.7","4.1.0+git191117-2ubuntu0.20.04.8"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.1.0+git191117-2ubuntu0.20.04.9"},{"binary_name":"libtiff-tools","binary_version":"4.1.0+git191117-2ubuntu0.20.04.9"},{"binary_name":"libtiff5","binary_version":"4.1.0+git191117-2ubuntu0.20.04.9"},{"binary_name":"libtiffxx5","binary_version":"4.1.0+git191117-2ubuntu0.20.04.9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3316.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.3.0-6ubuntu0.5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-6ubuntu0.5"}]}],"versions":["4.3.0-1","4.3.0-2","4.3.0-3","4.3.0-3build1","4.3.0-4","4.3.0-5","4.3.0-6","4.3.0-6ubuntu0.1","4.3.0-6ubuntu0.2","4.3.0-6ubuntu0.3","4.3.0-6ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.3.0-6ubuntu0.5"},{"binary_name":"libtiff-tools","binary_version":"4.3.0-6ubuntu0.5"},{"binary_name":"libtiff5","binary_version":"4.3.0-6ubuntu0.5"},{"binary_name":"libtiffxx5","binary_version":"4.3.0-6ubuntu0.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-3316.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}