CVE-2023-52355 Libtiff: tiffrasterscanlinesize64 produce too-big size and could cause oom
A remote attacker can cause a denial of service via out-of-memory conditions by providing a crafted TIFF file to the libtiff library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52355?
CVE-2023-52355 is a high-severity denial of service vulnerability in Libtiff Libtiff, published on 25 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An out-of-memory flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFRasterScanlineSize64() API. This flaw allows a remote attacker to cause a denial of service via a crafted input with a size smaller than 379 KB.
Weakness: CWE-787
Which versions are affected by CVE-2023-52355?
It affects 2 products.
Linux distribution packages (9)
libtiff Red Hat:rhel_eus:9.6::appstream | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-debugsource Red Hat:rhel_eus:9.6::appstream | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-devel Red Hat:rhel_eus:9.6::appstream | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-tools-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-debuginfo Red Hat:rhel_eus:9.6::crb | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-debugsource Red Hat:rhel_eus:9.6::crb | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-tools Red Hat:rhel_eus:9.6::crb | All versions | 0:4.4.0-13.el9_6.5 |
libtiff-tools-debuginfo Red Hat:rhel_eus:9.6::crb | All versions | 0:4.4.0-13.el9_6.5 |
Products include Libtiff Libtiff, Redhat Enterprise Linux.
How do I fix CVE-2023-52355?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-52355 being exploited?
There is no known exploitation of CVE-2023-52355 in the wild and no public exploit code.
Other vulnerabilities in Libtiff Libtiff
Sources
Also known as DEBIAN-CVE-2023-52355, ECHO-cc40-27fe-5c1c, GHSA-fh6j-mgh8-7prh, JLSEC-2025-315, RHSA-2026:43537, ROOT-OS-DEBIAN-11-CVE-2023-52355 and 2 more.