There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.
https://security.gentoo.org/glsa/202305-18
https://security.gentoo.org/glsa/202305-17
https://lists.debian.org/debian-lts-announce/2023/02/msg00008.html
https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9