{"id":"UBUNTU-CVE-2023-0796","details":"LibTIFF 4.4.0 has an out-of-bounds read in tiffcrop in tools/tiffcrop.c:3592, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit afaabc3e.","modified":"2026-01-30T00:53:37.193354Z","published":"2023-02-13T23:15:00Z","related":["USN-5923-1"],"upstream":["CVE-2023-0796"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0796"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0796.json"},{"type":"REPORT","url":"https://gitlab.com/libtiff/libtiff/-/commit/afaabc3e50d4e5d80a94143f7e3c997e7e410f68"},{"type":"REPORT","url":"https://gitlab.com/libtiff/libtiff/-/issues/499"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5923-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-0796"}],"affected":[{"package":{"name":"tiff","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.3-7ubuntu0.11+esm7?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-7ubuntu0.11+esm7"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiff-tools","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiff4-dev","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiff5","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiff5-alt-dev","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiff5-dev","binary_version":"4.0.3-7ubuntu0.11+esm7"},{"binary_name":"libtiffxx5","binary_version":"4.0.3-7ubuntu0.11+esm7"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0796.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.6-1ubuntu0.8+esm10?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.6-1ubuntu0.8+esm10"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-opengl","binary_version":"4.0.6-1ubuntu0.8+esm10"},{"binary_name":"libtiff-tools","binary_version":"4.0.6-1ubuntu0.8+esm10"},{"binary_name":"libtiff5","binary_version":"4.0.6-1ubuntu0.8+esm10"},{"binary_name":"libtiff5-dev","binary_version":"4.0.6-1ubuntu0.8+esm10"},{"binary_name":"libtiffxx5","binary_version":"4.0.6-1ubuntu0.8+esm10"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0796.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.0.9-5ubuntu0.10?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.9-5ubuntu0.10"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-dev","binary_version":"4.0.9-5ubuntu0.10"},{"binary_name":"libtiff-opengl","binary_version":"4.0.9-5ubuntu0.10"},{"binary_name":"libtiff-tools","binary_version":"4.0.9-5ubuntu0.10"},{"binary_name":"libtiff5","binary_version":"4.0.9-5ubuntu0.10"},{"binary_name":"libtiff5-dev","binary_version":"4.0.9-5ubuntu0.10"},{"binary_name":"libtiffxx5","binary_version":"4.0.9-5ubuntu0.10"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0796.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.1.0+git191117-2ubuntu0.20.04.8?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0+git191117-2ubuntu0.20.04.8"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-dev","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"},{"binary_name":"libtiff-opengl","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"},{"binary_name":"libtiff-tools","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"},{"binary_name":"libtiff5","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"},{"binary_name":"libtiff5-dev","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"},{"binary_name":"libtiffxx5","binary_version":"4.1.0+git191117-2ubuntu0.20.04.8"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0796.json"}},{"package":{"name":"tiff","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tiff@4.3.0-6ubuntu0.4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-6ubuntu0.4"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"libtiff-dev","binary_version":"4.3.0-6ubuntu0.4"},{"binary_name":"libtiff-opengl","binary_version":"4.3.0-6ubuntu0.4"},{"binary_name":"libtiff-tools","binary_version":"4.3.0-6ubuntu0.4"},{"binary_name":"libtiff5","binary_version":"4.3.0-6ubuntu0.4"},{"binary_name":"libtiff5-dev","binary_version":"4.3.0-6ubuntu0.4"},{"binary_name":"libtiffxx5","binary_version":"4.3.0-6ubuntu0.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0796.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}