Out-of-bounds write in FreeImage - CVE-2021-40263
Published: August 29, 2023
Vulnerability identifier: #VU80080
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-2021-40263
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error within the ofLoad() function in PluginTIFF.cpp. A remote attacker can trigger an out-of-bounds write and execute arbitrary code on the target system.
Affected software
FreeImage
openEuler
Fedora
freeimage
freeimage-devel
mingw-freeimage
openEuler
Fedora
freeimage
freeimage-devel
mingw-freeimage
How to mitigate CVE-2021-40263
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
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