### [CVE-2018-6405](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6405) ![](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 the ReadDCMImage function in coders/dcm.c in ImageMagick before 7.0.7-23, each redmap, greenmap, and bluemap variable can be overwritten by a new pointer. The previous pointer is lost, which leads to a memory leak. This allows remote attackers to cause a denial of service. ### POC #### Reference No PoCs from references. #### Github - https://github.com/ksyang-hj/ksyang-hj - https://github.com/ksyang/ksyang