NULL pointer dereference in FreeImage - CVE-2021-40266

 

NULL pointer dereference in FreeImage - CVE-2021-40266

Published: August 29, 2023


Vulnerability identifier: #VU80083
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-40266
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the ReadPalette() function in PluginTIFF.cpp. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.


Affected software

FreeImage
openEuler
Fedora
freeimage
freeimage-devel
mingw-freeimage

How to mitigate CVE-2021-40266

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