### [CVE-2018-5784](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5784) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description In LibTIFF 4.0.9, there is an uncontrolled resource consumption in the TIFFSetDirectory function of tif_dir.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tif file. This occurs because the declared number of directory entries is not validated against the actual number of directory entries. ### POC #### Reference - http://bugzilla.maptools.org/show_bug.cgi?id=2772 - https://usn.ubuntu.com/3606-1/ #### Github - https://github.com/andir/nixos-issue-db-example