NULL pointer dereference in LibTIFF - CVE-2019-7663
Published: February 14, 2019
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to an invalid address dereference condition that exists in the TIFFWriteDirectoryTagTransferfunction, as defined in the libtiff/tif_dirwrite.c source code file. A remote attacker can trick the victim into accessing a Tagged Image File Format (TIFF) file that submits malicious input and trigger a segmentation fault in the cpSeparateBufToContigBuf function in the tiffcp.c file, resulting in a DoS condition.
Affected software
Arch Linux
Gentoo Linux
Debian Linux
Ubuntu
Opensuse
Fedora
libtiff4 (Ubuntu package)
libtiff-tools (Ubuntu package)
libtiff5 (Ubuntu package)
tiff (Debian package)
libtiff
How to mitigate CVE-2019-7663
libtiff-tools (Ubuntu package) - addressed in versions 3.9.5-2ubuntu1.12, 4.0.3-7ubuntu0.11, 4.0.6-1ubuntu0.6, 4.0.9-5ubuntu0.2, 4.0.9-6ubuntu0.2
libtiff5 (Ubuntu package) - addressed in versions 4.0.3-7ubuntu0.11, 4.0.6-1ubuntu0.6, 4.0.9-5ubuntu0.2, 4.0.9-6ubuntu0.2
tiff (Debian package) - update to 4.0.8-2+deb9u5
libtiff - update to 4.0.10-4.fc29