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.0: 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/E:U/U:Green
CVE-ID: CVE-2021-40266
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FreeImage
Affected software:
FreeImage

Detailed vulnerability description

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.


How to mitigate CVE-2021-40266

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

Sources