All reports
Medium

libtiff: Null source pointer lead to Denial of Service via crafted TIFF file

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-0562

Probability of exploitation in the next 30 days: 1.25%

FIRST EPSS · 2026-11-21

Description

Null source pointer passed as an argument to memcpy() function within TIFFReadDirectory() in tif_dirread.c in libtiff versions from 4.0 to 4.3.0 could lead to Denial of Service via crafted TIFF file. For users that compile libtiff from sources, a fix is available with commit 561599c.

A flaw was found in libtiff where a NULL source pointer passed as an argument to the memcpy() function within the TIFFReadDirectory() in tif_dirread.c. This flaw allows an attacker to exploit this vulnerability via a crafted TIFF file, causing a crash and leading to a denial of service.