The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected.
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libgd | Libgd | 2.2.5 (including) | 2.2.5 (including) |
Red Hat Enterprise Linux 7 | RedHat | libwmf-0:0.2.8.4-44.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | libwmf-0:0.2.9-8.el8_0 | * |
Red Hat Enterprise Linux 8 | RedHat | gd-0:2.2.5-7.el8 | * |
Libgd2 | Ubuntu | bionic | * |
Libgd2 | Ubuntu | cosmic | * |
Libgd2 | Ubuntu | precise/esm | * |
Libgd2 | Ubuntu | trusty | * |
Libgd2 | Ubuntu | xenial | * |