CVE-2023-0801: Buffer Overflow
A flaw was found in tiffcrop, a program distributed by the libtiff package. A specially crafted tiff file can lead to an out-of-bounds write in the TIFFmemcpy function in libtiff/tifunix.c when called by functions in tools/tiffcrop.c, resulting in a Denial of Service and limited data modification.
Other sources
LibTIFF 4.4.0 has an out-of-bounds write in tiffcrop in libtiff/tifunix.c:368, invoked by tools/tiffcrop.c:2903 and tools/tiffcrop.c:6778, 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 33aee127.
LibTIFF is vulnerable to a denial of service, caused by a heap-based buffer overflow when processing TIFF files in TIFFmemcpy in libtiff/tifunix.c. By persuading a victim to open a specially-crafted TIFF file, a remote attacker could overflow a buffer and cause a denial of service.
— IBM
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2023-0801?
CVE-2023-0801 is a vulnerability in LibTIFF 4.4.0 that allows attackers to cause a denial-of-service via a crafted tiff file.
How does CVE-2023-0801 affect users?
CVE-2023-0801 affects users who compile libtiff from sources and have version 4.4.0 installed.
How severe is CVE-2023-0801?
CVE-2023-0801 has a severity rating of 6.1, which is classified as medium.
How can I fix CVE-2023-0801?
If you compile libtiff from sources, you can apply the fix available with commit 33aee127.
Where can I find more information about CVE-2023-0801?
You can find more information about CVE-2023-0801 at the following references: [GitLab Issue](https://gitlab.com/libtiff/libtiff/-/issues/498), [GitLab CVE Details](https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0801.json), [GitLab Commit](https://gitlab.com/libtiff/libtiff/-/commit/33aee1275d9d1384791d2206776eb8152d397f00).