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.
https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
https://github.com/libgd/libgd/issues/750#issuecomment-914872385
https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9