The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to cause a denial of service (application crash) via a crafted image file.
https://www.tenable.com/security/tns-2017-04
https://github.com/libgd/libgd/commit/fe9ed49dafa993e3af96b6a5a589efeea9bfb36f
https://access.redhat.com/errata/RHSA-2018:1296
https://access.redhat.com/errata/RHSA-2017:3221
http://www.securitytracker.com/id/1037659
http://www.securityfocus.com/bid/95869
http://www.openwall.com/lists/oss-security/2017/01/28/6
http://www.openwall.com/lists/oss-security/2017/01/26/1