CVE-2022-2869 Integer overflow in libtiff

Medium 5.5 Published Updated

A uint32_t underflow in libtiff's tiffcrop tool allows out-of-bounds read and write, potentially leading to code execution or crashes via crafted files.

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-2869?

CVE-2022-2869 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 tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

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

Which versions are affected by CVE-2022-2869?

It affects 3 products.

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

How do I fix CVE-2022-2869?

Apply the vendor's patch.

Is CVE-2022-2869 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-2869, AZL-10593, DEBIAN-CVE-2022-2869, GHSA-m98c-rvx4-4xmr, JLSEC-2025-278, UBUNTU-CVE-2022-2869.

Is CVE-2022-2869 in your software?

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

Check your SBOMs for free