A double-free condition occurs during the cleanup of temporary image files, which can be exploited to achieve memory corruption and potentially arbitrary code execution.
Weakness
The product calls free() twice on the same memory address.
Potential Mitigations
References