An exploitable heap-based buffer overflow vulnerability exists when loading a PCX file in SDL2_image, version 2.0.4. A missing error handler can lead to a buffer overflow and potential code execution. An attacker can provide a specially crafted image file to trigger this vulnerability.
https://usn.ubuntu.com/4238-1/
https://talosintelligence.com/vulnerability_reports/TALOS-2019-0820
https://lists.debian.org/debian-lts-announce/2019/07/msg00026.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00029.html
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00012.html