Integer overflow in CImg - CVE-2020-25693
Published: December 3, 2020 / Updated: December 6, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the load_pnm() function. A remote attacker can pass specially crafted file to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Fedora
CImg
gmic
How to mitigate CVE-2020-25693
CImg - addressed in versions 2.9.7-1.fc32, 2.9.7-1.fc33, 2.9.7-1.fc34
gmic - addressed in versions 2.9.7-1.fc32, 2.9.7-1.fc33, 2.9.7-1.fc34