### [CVE-2018-18557](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18557) ![](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 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 (with JBIG enabled) decodes arbitrarily-sized JBIG into a buffer, ignoring the buffer size, which leads to a tif_jbig.c JBIGDecode out-of-bounds write. ### POC #### Reference - https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557 - https://github.com/Hack-Me/Pocs_for_Multi_Versions/tree/main/CVE-2018-18557 - https://www.exploit-db.com/exploits/45694/ - https://www.exploit-db.com/exploits/45694/ #### Github - https://github.com/Cirno9-dev/Tracer