Double Free in libgd - CVE-2021-40145
Published: April 6, 2023
libgd
GD Software
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the gdImageGd2Ptr() function in gd_gd2.c. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.