The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c. NOTE: PHP is unaffected.
https://www.debian.org/security/2019/dsa-4384
https://usn.ubuntu.com/3900-1/
https://security.gentoo.org/glsa/201903-18
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
https://github.com/php/php-src/commit/089f7c0bc28d399b0420aa6ef058e4c1c120b2ae
https://github.com/libgd/libgd/issues/492
https://github.com/libgd/libgd/commit/553702980ae89c83f2d6e254d62cf82e204956d0
https://access.redhat.com/errata/RHSA-2019:2722
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html