CVE-2023-40745 Libtiff: integer overflow in tiffcp.c

Medium 6.5 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted TIFF images due to an integer overflow in LibTIFF.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-40745?

CVE-2023-40745 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

LibTIFF is vulnerable to an integer overflow. This flaw allows remote attackers to cause a denial of service (application crash) or possibly execute an arbitrary code via a crafted tiff image, which triggers a heap-based buffer overflow.

Weakness: CWE-190

Which versions are affected by CVE-2023-40745?

It affects 4 products.

Products include Fedoraproject Fedora, Libtiff Libtiff, Netapp Active Iq Unified Manager, Redhat Enterprise Linux.

How do I fix CVE-2023-40745?

Apply the vendor's patch.

Is CVE-2023-40745 being exploited?

There is no known exploitation of CVE-2023-40745 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-31096, BELL-CVE-2023-40745, DEBIAN-CVE-2023-40745, GHSA-w737-xjxg-h9mw, JLSEC-2025-312.

Is CVE-2023-40745 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free