CVE-2020-18768 Memory corruption in n/a

Medium 5.5 Published Updated

A heap buffer overflow in libtiff allows attackers to cause denial of service via crafted TIFF files, affecting applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-18768?

CVE-2020-18768 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

There exists one heap buffer overflow in _TIFFmemcpy in tif_unix.c in libtiff 4.0.10, which allows an attacker to cause a denial-of-service through a crafted tiff file.

Weakness: CWE-787

Which versions are affected by CVE-2020-18768?

It affects 1 product.

Products include Libtiff Libtiff.

How do I fix CVE-2020-18768?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-18768 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18768 exists.

All Libtiff Libtiff vulnerabilities

Sources

Also known as AZL-43876, AZL-44271, DEBIAN-CVE-2020-18768, GHSA-mqcp-f5vw-2vmj, JLSEC-2025-309.

Is CVE-2020-18768 in your software?

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

Check your SBOMs for free