CVE-2023-0797
published medium CVSS 3.1 · 6.8libtiff: out-of-bounds read in _TIFFmemcpy() in libtiff/tif_unix.c when called by functions in tools/tiffcrop.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libtiff | — | libtiff<=4.4.0 | Affected | Not stated | GitLab |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2236 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-255 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | libtiff | Advisory build | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| Oracle Linux | 9 | libtiffaarch64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Alpine Linux | edge | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Debian | bullseye | tiff | Advisory build | 4.2.0-1+deb11u4 | DSA-5361-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | libtiff-develaarch64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| Oracle Linux | 9 | libtiffx86_64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffi686 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffs390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffsrc | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiffx86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| AlmaLinux | 9 | libtiff-devel | Advisory build | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| AlmaLinux | 9 | libtiff-tools | Advisory build | 4.4.0-8.el9_2 | ALSA-2023:3711 |
| Alpine Linux | v3.15 | tiff | Fixed | 4.4.0-r2 | Package fix record |
| Alpine Linux | v3.16 | tiff | Fixed | 4.4.0-r2 | Package fix record |
| Alpine Linux | v3.17 | tiff | Fixed | 4.4.0-r3 | Package fix record |
| Alpine Linux | v3.18 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.19 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.20 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.21 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.22 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.23 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Alpine Linux | v3.24 | tiff | Fixed | 4.5.0-r5 | Package fix record |
| Debian | buster | tiff | Advisory build | 4.1.0+git191117-2~deb10u7 | DLA-3333-1 |
| Oracle Linux | 9 | libtiff-develaarch64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Oracle Linux | 9 | libtiff-develx86_64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Oracle Linux | 9 | libtiff-toolsaarch64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Oracle Linux | 9 | libtiff-toolsx86_64 | Advisory build | 0:4.4.0-8.el9_2 | ELSA-2023-3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debuginfoaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debuginfoi686 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debuginfoppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debuginfos390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debuginfox86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debugsourceaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debugsourcei686 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debugsourceppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debugsources390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-debugsourcex86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-develaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-develi686 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-develppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-devels390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-develx86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-toolsaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-toolsppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-toolss390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-toolsx86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-tools-debuginfoaarch64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-tools-debuginfoi686 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-tools-debuginfoppc64le | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-tools-debuginfos390x | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| Red Hat Enterprise Linux | RHEL-9 | libtiff-tools-debuginfox86_64 | Advisory build | 4.4.0-8.el9_2 | RHSA-2023:3711 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff-develppc64le | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff-devels390x | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff-develx86_64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5aarch64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5ppc64le | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5s390x | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5x86_64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5-32bits390x | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | libtiff5-32bitx86_64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | tiffaarch64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | tiffppc64le | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | tiffs390x | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-12-SP5 | tiffx86_64 | Advisory build | 4.0.9-44.68.1 | SUSE-SU-2023:2321-1 |
| SUSE / openSUSE | SLE-15-SP3 | libtiff-develx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP3 | libtiff5x86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP3 | libtiff5-32bitx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff-develaarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff-develppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff-devels390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff-develx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff5aarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff5ppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff5s390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff5x86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | libtiff5-32bitx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | tiffaarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | tiffppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | tiffs390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP4 | tiffx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff-develaarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff-develppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff-devels390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff-develx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff5aarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff5ppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff5s390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff5x86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | libtiff5-32bitx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | tiffaarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | tiffppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | tiffs390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-15-SP5 | tiffx86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-5 | libtiff5aarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-5 | libtiff5s390x | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | SLE-5 | libtiff5x86_64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libtiff-develaarch64 | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libtiff-develppc64le | Advisory build | 4.0.9-150000.45.28.1 | SUSE-SU-2023:2334-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
LibTIFF 4.4.0 has an out-of-bounds read in tiffcrop in libtiff/tif_unix.c:368, invoked by tools/tiffcrop.c:2903 and tools/tiffcrop.c:6921, 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libtiff | libtiff | <=4.4.0 (affected) | GitLab · cna |
Weaknesses
2- Out-of-bounds read in libtiff
- CWE-125 CWE-125 Out-of-bounds Read
References
6- https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0797.json
- https://gitlab.com/libtiff/libtiff/-/commit/afaabc3e50d4e5d80a94143f7e3c997e7e410f68
- https://gitlab.com/libtiff/libtiff/-/issues/495
- [debian-lts-announce] 20230221 [SECURITY] [DLA 3333-1] tiff security update https://lists.debian.org/debian-lts-announce/2023/02/msg00026.html
- GLSA-202305-31 https://security.gentoo.org/glsa/202305-31
- DSA-5361 https://www.debian.org/security/2023/dsa-5361
Provider assertions
3GitLab · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8729b56b792e223fe2729e08b3a15474d7f9739c07b05030027fa3d374b4ee3c
- Ingested
- 23 Sep 2026, 08:05:16 UTC
- Source record
- Official CVE record