The issue is related to a Double Free Vulnerability in the `gdImageBmpPtr` function, which can result in Remote Code Execution. This can be triggered by a specially crafted JPEG image, causing a double free. The vulnerability appears to have been fixed after a specific commit.