The dynamicGetbuf function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted TIFF image.
https://github.com/libgd/libgd/pull/353
https://github.com/libgd/libgd/commit/4859d69e07504d4b0a4bdf9bcb4d9e3769ca35ae
https://github.com/libgd/libgd/blob/gd-2.2.4/CHANGELOG.md