Heap-based buffer overflow in FreeImage - CVE-2020-24292
Published: August 29, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the LoadStandardIcon() function in PluginICO.cpp. A remote attacker can pass specially crafted image to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
openEuler
Fedora
freeimage
freeimage-devel
mingw-freeimage
How to mitigate CVE-2020-24292
freeimage-devel - update to 3.18.0-7
mingw-freeimage - addressed in versions 3.19.0-0.17.svn1909.fc38, 3.19.0-0.17.svn1909.fc39
freeimage - addressed in versions 3.19.0-0.20.svn1909.fc38, 3.19.0-0.20.svn1909.fc39