### [CVE-2017-9117](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9117) ![](https://img.shields.io/static/v1?label=Product&message=LibTIFF&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=4.0.6%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-125%20Out-of-bounds%20Read&color=brightgreen) ### Description In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release). ### POC #### Reference - http://bugzilla.maptools.org/show_bug.cgi?id=2690 - https://gitlab.com/libtiff/libtiff/-/issues/89 - https://usn.ubuntu.com/3606-1/ #### Github - https://github.com/11notes/docker-paperless-ngx - https://github.com/poikl246/DevSecOps-2024-v2