CVE-2022-2867 Integer overflow in libtiff

Medium 5.5 Published Updated

A uint32_t underflow in libtiff's tiffcrop utility allows attackers to cause out-of-bounds reads and writes via crafted files, potentially leading to code execution or crashes.

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-2022-2867?

CVE-2022-2867 is a medium-severity vulnerability in Debian Debian Linux, published on 17 Aug 2022. 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

libtiff's tiffcrop utility has a uint32_t underflow that can lead to out of bounds read and write. An attacker who supplies a crafted file to tiffcrop (likely via tricking a user to run tiffcrop on it with certain parameters) could cause a crash or in some cases, further exploitation.

Weakness: CWE-787, CWE-125, CWE-191

Which versions are affected by CVE-2022-2867?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Libtiff Libtiff.

How do I fix CVE-2022-2867?

Apply the vendor's patch.

Is CVE-2022-2867 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-2867, AZL-10567, DEBIAN-CVE-2022-2867, GHSA-ww36-qxj8-93p2, JLSEC-2025-276, UBUNTU-CVE-2022-2867.

Is CVE-2022-2867 in your software?

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

Check your SBOMs for free