### [CVE-2018-5785](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5785) ![](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 OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. ### POC #### Reference - https://github.com/uclouvain/openjpeg/issues/1057 #### Github - https://github.com/andir/nixos-issue-db-example