The vulnerability is a memory leak in multiple image coders within ImageMagick. The patch fe0a49a58ac5b7a18ff2618b6207dcad71123e43 reveals that in several functions responsible for writing raw pixel data (WriteBGRImage, WriteCMYKImage, WriteGRAYImage, WriteRGBImage, WriteYCBCRImage), a quantum_info object is allocated. However, if the subsequent call to OpenBlob fails, the functions would return without freeing the memory allocated for quantum_info. The fix involves adding a call to DestroyQuantumInfo(quantum_info) in the error handling block to release the memory before returning, thus patching the leak. Any of these Write*Image functions could appear in a runtime profile when converting an image to the respective raw format, and if an error occurs during file I/O, the memory leak would be triggered.