Apng2Gif · Apng2Gif · CVE-2017-6961
**Name of the Vulnerable Software and Affected Versions**
apng2gif version 1.7
**Description**
An issue was discovered where improper sanitization of user input leads to huge memory allocations, causing a crash. This issue is related to the `read chunk` function using the `pChunk->size` value within the PNG file to determine the amount of memory to allocate.
**Recommendations**
For apng2gif version 1.7, consider restricting the input to prevent huge memory allocations until a patch is available. As a temporary workaround, limiting the `pChunk->size` value used by the `read chunk` function could help minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.