Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal and vertical chunks in an image.
https://github.com/libgd/libgd/issues/354
https://github.com/libgd/libgd/commit/69d2fd2c597ffc0c217de1238b9bf4d4bceba8e6
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