The vulnerability is a use-after-free in the MSL decoder of ImageMagick, identified by GHSA-5r4x-w6p5-222q. The analysis of the patch associated with this vulnerability, specifically commit 4d92249c84536a20e9723376ec016b4950dcb454, reveals that the fix involves modifying the RegisterMSLImage function in coders/msl.c. The change disables the CoderBlobSupportFlag for the MSL format. This indicates that the vulnerability is triggered when an MSL image is read from a blob. The function responsible for decoding MSL images is ReadMSLImage, as set in the RegisterMSLImage function. Therefore, ReadMSLImage is the function that contains the use-after-free vulnerability. During exploitation, a crafted MSL image provided as a blob would be processed by ReadMSLImage, triggering the memory corruption. The patch prevents this by disallowing the MSL decoder from reading from blobs altogether.