Buffer overflow in FreeImage - CVE-2020-22524
Published: August 29, 2023 / Updated: August 29, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the FreeImage_Load() function in PluginPFM.cpp. A remote attacker can pass a specially crafted PFM file to the application to trigger memory corruption and perform a denial of service (DoS) attack.
Affected software
Debian Linux
Ubuntu
Fedora
libfreeimage3 (Ubuntu package)
libfreeimageplus3 (Ubuntu package)
freeimage (Debian package)
mingw-freeimage
freeimage
How to mitigate CVE-2020-22524
libfreeimageplus3 (Ubuntu package) - addressed in versions Ubuntu Pro, 3.18.0+ds2-9.1ubuntu0.1, 3.18.0+ds2-9ubuntu0.1, 3.18.0+ds2-1ubuntu3.1, 3.18.0+ds2-6ubuntu5.1
freeimage (Debian package) - addressed in versions 3.18.0+ds2-6+deb11u1, 3.18.0+ds2-9+deb12u1
mingw-freeimage - addressed in versions 3.19.0-0.16.svn1909.fc38, 3.19.0-0.16.svn1909.fc39
freeimage - addressed in versions 3.19.0-0.19.svn1909.fc38, 3.19.0-0.19.svn1909.fc39