CVE-2021-40812 (https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9): The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.
Seems like we have a partial fix in the first issue, new issue: https://github.com/libgd/libgd/issues/757