CVE-2023-26965 Use after free in n/a

Medium 5.5 Published Updated

A heap-based use-after-free in LibTIFF allows attackers to execute arbitrary code or cause denial of service via crafted TIFF images.

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-2023-26965?

CVE-2023-26965 is a medium-severity use after free vulnerability in Libtiff Libtiff, published on 14 Jun 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

loadImage() in tools/tiffcrop.c in LibTIFF through 4.5.0 has a heap-based use after free via a crafted TIFF image.

Weakness: CWE-787

Which versions are affected by CVE-2023-26965?

It affects 1 product.

Products include Libtiff Libtiff.

How do I fix CVE-2023-26965?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-26965 being exploited?

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

All Libtiff Libtiff vulnerabilities

Sources

Also known as AZL-27165, BELL-CVE-2023-26965, DEBIAN-CVE-2023-26965, GHSA-w5rm-7jx3-m7m4, JLSEC-2025-306, UBUNTU-CVE-2023-26965.

Is CVE-2023-26965 in your software?

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

Check your SBOMs for free