CVE-2018-7456: Null Pointer Dereference
A NULL Pointer Dereference occurs in the function TIFFPrintDirectory in tifprint.c in LibTIFF 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0alpha4, 4.0.0alpha5, 4.0.0alpha6, 4.0.0beta7, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.4beta, 4.0.5, 4.0.6, 4.0.7, 4.0.8 and 4.0.9 when using the tiffinfo tool to print crafted TIFF information, a different vulnerability than CVE-2017-18013. (This affects an earlier part of the TIFFPrintDirectory function that was not addressed by the CVE-2017-18013 patch.)
Other sources
LibTIFF is vulnerable to a denial of service, caused by a NULL pointer dereference in TIFFPrintDirectory function in tifprint.c. By persuaded a victim to use the tiffinfo tool to print specially crafted TIFF information, a remote attacker could exploit this vulnerability to cause the application to crash.
— IBM
LibTIFF through version 4.0.9 is vulnerable to a NULL pointer dereference in tifprint.c:TIFFPrintDirectory(). An attacker exploit this to cause a denial of service using the tiffinfo command with a crafted TIFF image.
This is a different issue to CVE-2017-18013.
Upstream Bug:
http://bugzilla.maptools.org/showbug.cgi?id=2778
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/tiffto a version that resolves this vulnerability.Fixed in 4.2.0-1+deb11u5Fixed in 4.2.0-1+deb11u8Fixed in 4.5.0-6+deb12u4Fixed in 4.7.0-3+deb13u2Fixed in 4.7.0-3+deb13u3Fixed in 4.7.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2018-7456?
CVE-2018-7456 is considered to have a moderate severity level due to the potential for a NULL Pointer Dereference vulnerability affecting various versions of LibTIFF.
How do I fix CVE-2018-7456?
To fix CVE-2018-7456, update to the latest patched versions of LibTIFF or affected software such as Cognos Analytics and Debian's tiff package.
Which versions of LibTIFF are affected by CVE-2018-7456?
CVE-2018-7456 affects LibTIFF versions 3.9.3 through 4.0.9.
Does CVE-2018-7456 affect Debian systems?
Yes, CVE-2018-7456 affects Debian systems, particularly with the tiff package versions specified in the advisory.
Can CVE-2018-7456 impact applications that use LibTIFF?
Yes, applications utilizing vulnerable versions of LibTIFF are at risk of encountering NULL Pointer Dereference issues.