Png-Img · Png-Img · CVE-2020-28248
Name of the Vulnerable Software and Affected Versions:
png-img versions prior to 3.1.0
Description:
The issue is caused by an integer overflow in the PngImg::InitStorage () function, leading to under-allocation of heap memory. This results in a heap-based buffer overflow when a crafted PNG file is loaded.
Recommendations:
For versions prior to 3.1.0, update to version 3.1.0 or later to resolve the issue.
As a temporary workaround, consider avoiding the use of the PngImg::InitStorage () function until a patch is available.