Heap-based buffer overflow in FreeImage - CVE-2020-24292

 

Heap-based buffer overflow in FreeImage - CVE-2020-24292

Published: August 29, 2023


Vulnerability identifier: #VU80072
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-24292
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

FreeImage
openEuler
Fedora
freeimage
freeimage-devel
mingw-freeimage

How to mitigate CVE-2020-24292

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

freeimage - update to 3.18.0-7
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

External References

Related Security Bulletins