gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendors position is The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes.
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.3.2 (including) |
Libgd2 | Ubuntu | bionic | * |
Libgd2 | Ubuntu | devel | * |
Libgd2 | Ubuntu | esm-infra/xenial | * |
Libgd2 | Ubuntu | focal | * |
Libgd2 | Ubuntu | hirsute | * |
Libgd2 | Ubuntu | impish | * |
Libgd2 | Ubuntu | jammy | * |
Libgd2 | Ubuntu | trusty | * |
Libgd2 | Ubuntu | trusty/esm | * |
Libgd2 | Ubuntu | xenial | * |