CVE-2022-2520 Denial of service in libtiff

Medium 6.5 Published Updated

A crafted TIFF file triggers an assertion failure in libtiff, causing a program crash and denial of service.

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

CVE-2022-2520 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 31 Aug 2022. 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

A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input.

Weakness: CWE-617, CWE-131

Which versions are affected by CVE-2022-2520?

It affects 2 products.

Products include Debian Debian Linux, Libtiff Libtiff.

How do I fix CVE-2022-2520?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-2520 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-2520, DEBIAN-CVE-2022-2520, GHSA-x8g3-wjf9-c729, OESA-2022-1935.

Is CVE-2022-2520 in your software?

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

Check your SBOMs for free